aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorBlista Kanjo2023-07-30 02:41:15 -0400
committerBlista Kanjo2023-07-30 02:41:15 -0400
commitb8322b5b705e77e61800e9960bdac3e99bb23ac5 (patch)
treefa1919e626c980e5e6066325c1e9773ce560e5c8 /.config
parent8e271c90f174015e0533cce13fa3cabe9205b239 (diff)
feat: added `soft-reboot` (systemd v254 addition)
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/rc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index e7f6c2f..d7a49a7 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -119,8 +119,9 @@ myawesomemenu = {
{ "picom config", function() awful.spawn.easy_async_with_shell("xfce4-terminal -x nvim $HOME/.config/picom.conf") end },
{ "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 },
+ { "soft-reboot", function() awful.spawn("sh -c 'systemctl soft-reboot'") end },
{ "reboot", function() awful.spawn("sh -c 'systemctl reboot'") end },
+ { "refresh", awesome.restart },
-- { "quit", function() awesome.quit() end },
{ "shutdown", function() awful.spawn("sh -c 'systemctl poweroff'") end},
{ "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") end},