Add system will lock before suspend/hibernate (#797)

Co-authored-by: Luke Smith <luke@lukesmith.xyz>
This commit is contained in:
Shaw 2020-11-14 20:16:13 +00:00 committed by GitHub
parent 38815c3ad1
commit 4493d431e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"