Trying to master the keyboard shortcuts in your favorite app?
Use Mousetrap to selectively disable the mouse when that app is active.
Note: This is a command-line app until someone takes the time to make it a Proper Menubar App.
To build 🪤:
- Clone this
- Install Xcode
- In
mousetrap.m
, change the list ofblockedApps
to your liking - Run
clang -o mousetrap mousetrap.m -framework Cocoa
To run 🪤:
sudo ./mousetrap
You will need to give this app accessibility privileges.
Have fun.