From: Edward Delaporte Date: Wed, 28 Jan 2026 22:07:41 +0000 (-0600) Subject: Add virtual way to unplug and re-plug mouse X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/ef172ce82a524e3e71399eedc90b81a1edc41646?hp=a5a6775455791d9afab8ac0e0716fe0f6d47b799 Add virtual way to unplug and re-plug mouse --- 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') + +