diff options
| author | Blista Kanjo | 2021-10-27 06:28:00 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2021-10-27 06:28:00 -0400 |
| commit | 7cb42d27199474f63b497d284a7748fbeb6a8d82 (patch) | |
| tree | 3ae16f9d1c3350ec17466ee1a13bcf70355f2c84 /awesome | |
| parent | 5da8c9d5388d2baa44eda962f602560c301e88cd (diff) | |
added suspend to right-click menu and other fixes
Diffstat (limited to 'awesome')
| -rw-r--r-- | awesome/rc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua index 02e35f5..625838b 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -72,7 +72,8 @@ myawesomemenu = { { "reboot" , function() awful.spawn("sh -c 'gksudo reboot now'") end }, -- { "quit", function() awesome.quit() end }, { "shutdown", function() awful.spawn("sh -c 'gksudo shutdown now'") end}, - { "lock", function() awful.spawn("sh -c 'xflock4'") end}, + { "suspend", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl suspend'") end}, + { "lock", function() awful.spawn.easy_async_with_shell("sh -c 'xflock4'") end}, { "quit", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end }, } |
