]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add virtual way to unplug and re-plug mouse
authorEdward Delaporte <edward@delaporte.us>
Wed, 28 Jan 2026 22:07:41 +0000 (16:07 -0600)
committerEdward Delaporte <edward@delaporte.us>
Thu, 29 Jan 2026 13:56:53 +0000 (07:56 -0600)
files/pc/tasks.py

index edaf571855c478bbf0cef03a932486812dd426ba..3d6fb3223ef98380a5bb0b57ffe577cf80043705 100644 (file)
@@ -49,3 +49,9 @@ def payroll(c):
     # For running the payroll scripts
     c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter lab")
 
     # 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')
+
+