Lock before suspend
This commit is contained in:
parent
9a327fdf65
commit
58409501d0
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ chosen="$(echo -e "$options" | rofi -dmenu -p Shutdown? -no-custom -lines 5)"
|
|||
|
||||
case $chosen in
|
||||
$power_off)
|
||||
systemctl poweroff
|
||||
systemctl poweroff -i
|
||||
;;
|
||||
$reboot)
|
||||
systemctl reboot
|
||||
|
@ -25,6 +25,7 @@ case $chosen in
|
|||
xdotool key "Super_L+l"
|
||||
;;
|
||||
$suspend)
|
||||
xdotool key "Super_L+l"
|
||||
systemctl suspend
|
||||
;;
|
||||
$log_out)
|
||||
|
|
Loading…
Reference in a new issue