Add system will lock before suspend/hibernate

This commit is contained in:
decantr 2020-08-22 15:45:59 +01:00
parent 62e555f906
commit 3394b279c9
No known key found for this signature in database
GPG Key ID: 0439DF0FFBB01323

View File

@ -12,7 +12,7 @@ cmds="\
🔒 lock slock 🔒 lock slock
🚪 leave dwm kill -TERM $(pidof -s dwm) 🚪 leave dwm kill -TERM $(pidof -s dwm)
♻ renew dwm kill -HUP $(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} 🔃 reboot ${reb:-sudo -A reboot}
🖥 shutdown ${shut:-sudo -A shutdown -h now}" 🖥 shutdown ${shut:-sudo -A shutdown -h now}"