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" &