diff options
| author | Blista Kanjo | 2023-06-01 00:01:38 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-06-01 00:01:38 -0400 |
| commit | 482e8af041d7e40f74c47f5dba1544dae46cf6e1 (patch) | |
| tree | f657180a53b69cb51c931bfcc73e2829a2df7410 /.config/awesome/rc.lua | |
| parent | 0ce3309087a1f6869887cf26e188b1682d9b4212 (diff) | |
refactor: use the correct systemd reboot and shutdown commands
Diffstat (limited to '.config/awesome/rc.lua')
| -rw-r--r-- | .config/awesome/rc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 1e63329..2f9c091 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -117,9 +117,9 @@ myawesomemenu = { { "change wallpaper", function() awful.spawn.easy_async_with_shell("sh -c 'nitrogen'") end }, { "xdg_menu refresh", function() awful.spawn.easy_async_with_shell("sh -c 'xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu > ~/.config/awesome/xdgmenu.lua'") end }, { "refresh", awesome.restart }, - { "reboot", function() awful.spawn("sh -c 'lxsudo reboot now'") end }, + { "reboot", function() awful.spawn("sh -c 'systemctl reboot'") end }, -- { "quit", function() awesome.quit() end }, - { "shutdown", function() awful.spawn("sh -c 'lxsudo shutdown now'") end}, + { "shutdown", function() awful.spawn("sh -c 'systemctl poweroff'") 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 }, |
