Added more notifications for toggler.sh
This commit is contained in:
parent
6ce3aa332e
commit
1d7321e442
|
@ -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" &
|
||||||
|
|
Loading…
Reference in New Issue