aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome
diff options
context:
space:
mode:
authorBlista Kanjo2022-11-25 15:53:50 -0500
committerBlista Kanjo2022-11-25 15:53:50 -0500
commit01ce3fc9a5c105a1d80de8c43f0cf0a494324140 (patch)
treef832aea581ec7f7d6145a9ebe0c6498f2ab96b9e /.config/awesome
parente38eb658f285700daab860e53ec18eb999a4b666 (diff)
refactor: moved to using lxsudo instead of gksudo (which now seems to be unmaintained)
Diffstat (limited to '.config/awesome')
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 3af9b74..9b4a524 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -72,9 +72,9 @@ myawesomemenu = {
{ "dunst=0", function() awful.spawn.easy_async_with_shell("dunstctl set-paused true") end, },
{ "dunst=1", function() awful.spawn.easy_async_with_shell("dunstctl set-paused false") end, },
{ "refresh", awesome.restart },
- { "reboot" , function() awful.spawn("sh -c 'gksudo reboot now'") end },
+ { "reboot" , function() awful.spawn("sh -c 'lxsudo reboot now'") end },
-- { "quit", function() awesome.quit() end },
- { "shutdown", function() awful.spawn("sh -c 'gksudo shutdown now'") end},
+ { "shutdown", function() awful.spawn("sh -c 'lxsudo shutdown now'") end},
{ "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") end},
{ "suspend", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl suspend'") end},
{ "logout", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end },