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
|
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)
|
||||||
|
|
Loading…
Reference in a new issue