Updated suspend script

This commit is contained in:
dbroqua 2020-10-09 21:34:52 +02:00
parent 3360909f33
commit ef288a00f5

View file

@ -8,7 +8,7 @@ choice=`echo -e "0: Logout\n1: Shutdown\n2: Suspend\n3: Reboot\n4: Cancel" | rof
case "$choice" in
0) i3-msg exit & ;;
1) systemctl poweroff & ;;
2) ~/Bin/lock.sh & systemctl suspend & ;;
2) ~/Bin/lock.sh & sleep 2 && systemctl suspend & ;;
3) systemctl reboot & ;;
4) exit ;;
esac