From ef172ce82a524e3e71399eedc90b81a1edc41646 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Wed, 28 Jan 2026 16:07:41 -0600 Subject: [PATCH 1/1] Add virtual way to unplug and re-plug mouse --- files/pc/tasks.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/pc/tasks.py b/files/pc/tasks.py index edaf571..3d6fb32 100644 --- a/files/pc/tasks.py +++ b/files/pc/tasks.py @@ -49,3 +49,9 @@ def payroll(c): # For running the payroll scripts c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter lab") +@task +def fix_mouse(c): + c.run('xinput --disable 18') + c.run('xinput --enable 18') + + -- 2.47.3