fix: anti-idle click at y=80 (2cm from top)
This commit is contained in:
@@ -102,7 +102,7 @@ def _anti_idle_loop():
|
|||||||
)
|
)
|
||||||
win_id = r.stdout.decode().strip().splitlines()[0] if r.stdout.strip() else ""
|
win_id = r.stdout.decode().strip().splitlines()[0] if r.stdout.strip() else ""
|
||||||
if win_id:
|
if win_id:
|
||||||
x, y = (5, 5) if toggle else (6, 6)
|
x, y = (5, 80) if toggle else (6, 81)
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
["xdotool", "mousemove", "--window", win_id, str(x), str(y)],
|
["xdotool", "mousemove", "--window", win_id, str(x), str(y)],
|
||||||
env=env, capture_output=True, timeout=5,
|
env=env, capture_output=True, timeout=5,
|
||||||
|
|||||||
Reference in New Issue
Block a user