1
0

fix silly mistakes

This commit is contained in:
dtb 2023-07-09 10:48:49 -04:00
parent cf2ca6b0ed
commit 4ac4de9799

View File

@ -65,7 +65,8 @@ do
if test "$XJIGGLER_lastX" = "$XJIGGLER_X" \ if test "$XJIGGLER_lastX" = "$XJIGGLER_X" \
&& test "$XJIGGLER_lastY" = "$XJIGGLER_Y" && test "$XJIGGLER_lastY" = "$XJIGGLER_Y"
then # no movement then # no movement
test "$(printf '%s\n%s\n-\n' "$XJIGGLER_S" "$XJIGGLER_lastS" \ test "$(printf '%s\n%s\n-\np\n' "$XJIGGLER_T" \
"$XJIGGLER_lastT" \
| dc)" -gt "$XJIGGLER_ACTION_DELAY" \ | dc)" -gt "$XJIGGLER_ACTION_DELAY" \
|| continue # hasn't been long enough || continue # hasn't been long enough
rotatemousedirection; jiggle rotatemousedirection; jiggle