From 40dc59ccba82e011eaacb81906670ba807819526 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 28 Oct 2020 16:19:57 +0530 Subject: added stuff to the menu --- awesome/rc.lua | 22 +++++++++++++++++++--- 1 file 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"}), -- cgit v1.2.3