Added more notifications for toggler.sh

This commit is contained in:
raul 2024-01-18 06:54:40 +01:00
parent 6ce3aa332e
commit 1d7321e442
1 changed files with 2 additions and 3 deletions

View File

@ -7,12 +7,11 @@ cmd="$(which xdotool)"
if test -e "$cmd"; then if test -e "$cmd"; then
echo "[+] xdotool exists, continuing the script!" echo "[+] xdotool exists, continuing the script!"
else 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 exit 2
fi fi
if pidof -x clicks.sh > /dev/null; then if pidof -x clicks.sh > /dev/null; then
#echo "clicks is active, deactivating" #echo "clicks is active, deactivating"
notify-send "Clicks is active, deactivating" & notify-send "Clicks is active, deactivating" &