Slap2Actions turns your MacBook into a physical trigger. It uses the built-in accelerometer on Apple Silicon Macs to detect impacts and USB plug-in events, then fires off configurable actions instantly.
Set up Panic Mode to hide all windows with one slap. Run shell scripts, play sounds, or execute AppleScript — all triggered by a physical tap on your laptop.
No extra hardware needed. Just a menu bar app that makes your Mac respond to your touch.