Updated suspend script
This commit is contained in:
parent
3360909f33
commit
ef288a00f5
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ choice=`echo -e "0: Logout\n1: Shutdown\n2: Suspend\n3: Reboot\n4: Cancel" | rof
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
0) i3-msg exit & ;;
|
0) i3-msg exit & ;;
|
||||||
1) systemctl poweroff & ;;
|
1) systemctl poweroff & ;;
|
||||||
2) ~/Bin/lock.sh & systemctl suspend & ;;
|
2) ~/Bin/lock.sh & sleep 2 && systemctl suspend & ;;
|
||||||
3) systemctl reboot & ;;
|
3) systemctl reboot & ;;
|
||||||
4) exit ;;
|
4) exit ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue