aboutsummaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-10-28 16:19:57 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-10-28 16:19:57 +0530
commit40dc59ccba82e011eaacb81906670ba807819526 (patch)
tree7c4815be4fd1e8aa886277b24c8dd7a7229f52e1 /awesome
parent261e24c47ebe3ce0a317f8b10e3fc3dde05abd23 (diff)
added stuff to the menu
Diffstat (limited to 'awesome')
-rwxr-xr-xawesome/rc.lua22
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"}),