Lock system before suspending
Otherwise it will not be locked when recovering from suspend.
This commit is contained in:
parent
9843b87689
commit
02da8f3a62
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue