fix shutdown script
This commit is contained in:
parent
2f345011a0
commit
7533926897
|
@ -5,11 +5,11 @@ respond="$(echo " Shutdown\n Restart\n Cancel" | fuzzel --dmenu --lines=3 --widt
|
|||
if [ $respond = ' Shutdown' ]
|
||||
then
|
||||
echo "shutdown"
|
||||
# shutdown now
|
||||
shutdown now
|
||||
elif [ $respond = ' Restart' ]
|
||||
then
|
||||
echo "restart"
|
||||
# reboot
|
||||
reboot
|
||||
else
|
||||
notify-send "cancel shutdown"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue