From 01ce3fc9a5c105a1d80de8c43f0cf0a494324140 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Fri, 25 Nov 2022 15:53:50 -0500 Subject: refactor: moved to using lxsudo instead of gksudo (which now seems to be unmaintained) --- .config/awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/awesome') 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 }, -- cgit v1.2.3