Update zclick
This commit is contained in:
parent
702fee18a8
commit
624843eea6
1 changed files with 3 additions and 1 deletions
|
|
@ -87,10 +87,12 @@ if [ -n "$opt_d" ]
|
||||||
then
|
then
|
||||||
## DAEMON
|
## DAEMON
|
||||||
# reset status of all clicks
|
# reset status of all clicks
|
||||||
|
which bc >/dev/null || { echo "bc not installed" >&2 && exit 1; }
|
||||||
|
which xdotool >/dev/null || { echo "xdotool not installed" >&2 && exit 1; }
|
||||||
stime=$(echo "scale=2;$block_time/1000.0" | bc)
|
stime=$(echo "scale=2;$block_time/1000.0" | bc)
|
||||||
for I in "$FOLDER"/*
|
for I in "$FOLDER"/*
|
||||||
do
|
do
|
||||||
echo "0" > "$I"
|
echo "0" > "$I" 2>/dev/null
|
||||||
done
|
done
|
||||||
# DAEMON
|
# DAEMON
|
||||||
while true
|
while true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue