Menu update and some config changes.
This commit is contained in:
parent
cff3c2e7b8
commit
32ad04ca72
2 changed files with 10 additions and 7 deletions
|
|
@ -261,6 +261,7 @@ mainmenu = awful.menu({ items = {
|
|||
{ "wine", windowsmenu, "" },
|
||||
{ "filemanager (nemo)", "/usr/bin/nemo", "/usr/share/icons/Adwaita/22x22/legacy/system-file-manager.png" },
|
||||
{ "filemanager (thunar)", "/usr/bin/thunar", "/usr/share/icons/Adwaita/22x22/legacy/system-file-manager.png" },
|
||||
{ "terminal (alacritty)", "/usr/bin/alacritty", "/usr/share/pixmaps/Alacritty.svg" },
|
||||
{ "terminal (xfce4)", "/usr/bin/xfce4-terminal", "/usr/share/icons/Adwaita/22x22/legacy/utilities-terminal.png" },
|
||||
{ "terminal (xterm)", terminal, "/usr/share/icons/Adwaita/22x22/legacy/utilities-terminal.png" },
|
||||
{ "configuration", editor_cmd .. " " .. awesome.conffile, "/usr/share/icons/Adwaita/22x22/legacy/preferences-other.png" },
|
||||
|
|
|
|||
|
|
@ -319,6 +319,12 @@ globalkeys = gears.table.join(
|
|||
{ description="enable xautolock", group="awesome" }),
|
||||
|
||||
-- Some Application shortcuts
|
||||
awful.key({ modkey, }, "a", function () awful.spawn("/usr/bin/alacritty") end,
|
||||
{ description = "open a terminal", group = "launcher"}),
|
||||
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
|
||||
{ description = "open a terminal", group = "launcher"}),
|
||||
awful.key({ modkey, "Control" }, "Return", function () awful.util.spawn(xterminal) end,
|
||||
{ description = "open a terminal", group = "launcher"}),
|
||||
awful.key({ modkey }, "e", function() awful.util.spawn("/usr/bin/emulationstation") end,
|
||||
{ description="start emulationstation", group="awesome" }),
|
||||
awful.key({ modkey }, "v", function() awful.util.spawn("/usr/bin/chromium") end,
|
||||
|
|
@ -331,8 +337,8 @@ globalkeys = gears.table.join(
|
|||
{ description="edit awesome configuration", group="awesome" }),
|
||||
awful.key({ modkey }, "z", function() awful.util.spawn(editor_cmd .. " " .. os.getenv("HOME") .. "/.zshrc") end,
|
||||
{ description="edit zsh configuration", group="awesome" }),
|
||||
awful.key({ modkey }, "a", function() awful.util.spawn("/usr/bin/nemo") end,
|
||||
{ description="start nemo", group="awesome"}),
|
||||
--awful.key({ modkey }, "a", function() awful.util.spawn("/usr/bin/nemo") end,
|
||||
-- { description="start nemo", group="awesome"}),
|
||||
awful.key({ modkey }, "y", function() awful.util.spawn("/usr/bin/thunar") end,
|
||||
{ description="start thunar", group="awesome"}),
|
||||
awful.key({ modkey, }, "u", function() awful.util.spawn("/usr/bin/xdotool click 2") end),
|
||||
|
|
@ -383,11 +389,7 @@ globalkeys = gears.table.join(
|
|||
end,
|
||||
{ description = "go back", group = "client"}),
|
||||
|
||||
-- Standard program
|
||||
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
|
||||
{ description = "open a terminal", group = "launcher"}),
|
||||
awful.key({ modkey, "Control" }, "Return", function () awful.util.spawn(xterminal) end,
|
||||
{ description = "open a terminal", group = "launcher"}),
|
||||
-- Awesome control
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
||||
{ description = "reload awesome", group = "awesome"}),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue