From 1d7321e442e502145518a9964b584afb391a9e7b Mon Sep 17 00:00:00 2001 From: raul Date: Thu, 18 Jan 2024 06:54:40 +0100 Subject: [PATCH] Added more notifications for toggler.sh --- toggler.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/toggler.sh b/toggler.sh index bf64efd..523a4d4 100755 --- a/toggler.sh +++ b/toggler.sh @@ -7,12 +7,11 @@ cmd="$(which xdotool)" if test -e "$cmd"; then echo "[+] xdotool exists, continuing the script!" else - echo "[-] xdotool doesn't exist, this script won't run on your computer" + echo "[-] xdotool doesn't exist, this script won't run on your computer!" + notify-send "xdotool doesn't exist, this script won't run on your computer!" & exit 2 fi - - if pidof -x clicks.sh > /dev/null; then #echo "clicks is active, deactivating" notify-send "Clicks is active, deactivating" &