diff options
-rwxr-xr-x | awesome/rc.lua | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua index c7cdb591..fbcd59c3 100755 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -91,8 +91,24 @@ myawesomemenu = { { "fix wallpaper", function() awful.spawn.with_shell("nitrogen --restore") end }, } -mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon }, - { "open terminal", terminal } +appdrawer = { + {"pcmanfm", function() awful.spawn.with_shell("pcmanfm") end}, + {"pavucontrol", function() awful.spawn.with_shell("pavucontrol") end}, + {"lxappearance", function() awful.spawn.with_shell("lxappearance") end}, + {"nitrogen", function() awful.spawn.with_shell("nitrogen") end}, + {"gimp", function() awful.spawn.with_shell("gimp") end} + -- {"", function() awful.spawn.with_shell("") end} +} + +powermenu = { + {"shutdown", function() awful.spawn.with_shell("shutdown now") end}, + {"reboot", function() awful.spawn.with_shell("reboot") end} +} + + +mymainmenu = awful.menu({ items = { { "apps", appdrawer }, + { "awesome", myawesomemenu, beautiful.awesome_icon }, + { "power", powermenu } } }) @@ -336,7 +352,7 @@ globalkeys = gears.table.join( end, {description = "restore minimized", group = "client"}), - -- This launched dmenu + -- This launches dmenu awful.key({ "Mod1" }, "Return", function () awful.spawn.with_shell("dmenu_run") end, {description = "run prompt", group = "launcher"}), |