This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# In my case, I would like to turn off my HUGE TRACKBALL sometimes, because it | |
# gets disconnected from the USB bus... Not very often, but a few times per month | |
# I launch this script with a tool like `rofi` or `dmenu`. | |
# | |
# You can easily adjust this script to work for any USB device by changing the | |
# these variables for the hex code of vendor and product. | |
# | |
# |