Lock system before suspending

Otherwise it will not be locked when recovering from suspend.
This commit is contained in:
Daniel Siepmann 2022-02-09 17:07:40 +01:00
parent 9843b87689
commit 02da8f3a62
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -28,6 +28,8 @@ case "$chosen" in
pkill -u "$USER" -USR2 dunst
;;
"suspend")
# TODO: Fix that suspend is also locked
i3lock -c '#2E3436'
systemctl suspend
;;
"logout")