Lock before suspend

This commit is contained in:
Jake Howard 2019-10-07 14:19:59 +01:00
parent 9a327fdf65
commit 58409501d0
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -16,7 +16,7 @@ chosen="$(echo -e "$options" | rofi -dmenu -p Shutdown? -no-custom -lines 5)"
case $chosen in case $chosen in
$power_off) $power_off)
systemctl poweroff systemctl poweroff -i
;; ;;
$reboot) $reboot)
systemctl reboot systemctl reboot
@ -25,6 +25,7 @@ case $chosen in
xdotool key "Super_L+l" xdotool key "Super_L+l"
;; ;;
$suspend) $suspend)
xdotool key "Super_L+l"
systemctl suspend systemctl suspend
;; ;;
$log_out) $log_out)