From 3394b279c952769db89c32face7eb9e3557aa095 Mon Sep 17 00:00:00 2001 From: decantr Date: Sat, 22 Aug 2020 15:45:59 +0100 Subject: [PATCH] Add system will lock before suspend/hibernate --- .local/bin/sysact | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/sysact b/.local/bin/sysact index 0a7cdd02..abea88d4 100755 --- a/.local/bin/sysact +++ b/.local/bin/sysact @@ -12,7 +12,7 @@ cmds="\ 🔒 lock slock 🚪 leave dwm kill -TERM $(pidof -s dwm) ♻ renew dwm kill -HUP $(pidof -s dwm) -🐻 hibernate ${hib:-sudo -A systemctl suspend-then-hibernate} +🐻 hibernate slock ${hib:-systemctl suspend-then-hibernate -i} 🔃 reboot ${reb:-sudo -A reboot} 🖥 shutdown ${shut:-sudo -A shutdown -h now}"