/mousetrap

🪤 Master keyboard shortcuts by selectively disabling the mouse in your favorite macOS apps

Primary LanguageObjective-CMIT LicenseMIT

🐭 Mousetrap

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 🪤:

  1. Clone this
  2. Install Xcode
  3. In mousetrap.m, change the list of blockedApps to your liking
  4. Run clang -o mousetrap mousetrap.m -framework Cocoa

To run 🪤:

sudo ./mousetrap

You will need to give this app accessibility privileges.

Have fun.