From b8322b5b705e77e61800e9960bdac3e99bb23ac5 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Sun, 30 Jul 2023 02:41:15 -0400 Subject: feat: added `soft-reboot` (systemd v254 addition) --- .config/awesome/rc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/awesome/rc.lua') 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}, -- cgit v1.2.3