From 24967b5524916096fa6a7b5732a728443384262f Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 26 May 2024 21:41:06 +0200 Subject: [PATCH] update shutdown script --- modules/home/scripts/scripts/shutdown-script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home/scripts/scripts/shutdown-script.sh b/modules/home/scripts/scripts/shutdown-script.sh index 96aa7ed..8813d2e 100755 --- a/modules/home/scripts/scripts/shutdown-script.sh +++ b/modules/home/scripts/scripts/shutdown-script.sh @@ -1,12 +1,12 @@ #!/usr/bin/env zsh -respond="$(echo "---------------- Yes ----------------\n-------------- Restart --------------\n---------------- Nah ----------------" | wofi --show dmenu -k /dev/null)" +respond="$(echo "------------- Shutdown --------------\n------------- Restart ---------------\n-------------- Cancel ---------------" | wofi --show dmenu -k /dev/null)" -if [ $respond = '---------------- Yes ----------------' ] +if [ $respond = '------------- Shutdown --------------' ] then echo "shutdown" shutdown now -elif [ $respond = '-------------- Restart --------------' ] +elif [ $respond = '------------- Restart ---------------' ] then echo "restart" reboot