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' ]
|
if [ $respond = ' Shutdown' ]
|
||||||
then
|
then
|
||||||
echo "shutdown"
|
echo "shutdown"
|
||||||
# shutdown now
|
shutdown now
|
||||||
elif [ $respond = ' Restart' ]
|
elif [ $respond = ' Restart' ]
|
||||||
then
|
then
|
||||||
echo "restart"
|
echo "restart"
|
||||||
# reboot
|
reboot
|
||||||
else
|
else
|
||||||
notify-send "cancel shutdown"
|
notify-send "cancel shutdown"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue