From 4493d431e3654e4ad59aa11f7419b71048872e5d Mon Sep 17 00:00:00 2001 From: Shaw Date: Sat, 14 Nov 2020 20:16:13 +0000 Subject: [PATCH] Add system will lock before suspend/hibernate (#797) Co-authored-by: Luke Smith --- .local/bin/sysact | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/sysact b/.local/bin/sysact index e73981f..9dc398b 100755 --- a/.local/bin/sysact +++ b/.local/bin/sysact @@ -12,7 +12,7 @@ cmds="\ 🔒 lock slock 🚪 leave dwm kill -TERM $(pgrep -u $USER "\bdwm$") ♻ renew dwm kill -HUP $(pgrep -u $USER "\bdwm$") -🐻 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}"