Slap2Actions
If you can script it, you can slap it
A macOS menu‑bar utility that turns physical impacts on a MacBook and USB connection events into digital triggers. It monitors the built‑in accelerometer and detects sudden impulse spikes, while also responding to USB plug‑in or removal. When a trigger occurs, the app can hide all windows and mute audio, play a sound from a collection of built‑in clips, or execute arbitrary shell or AppleScript commands.
The tool is designed for Apple‑silicon Macs (M1‑M4) running macOS 14 or later and runs silently without a dock icon. Users can adjust sensitivity from very low (earthquake‑style) to high (requiring a firm slap), set a cooldown period to avoid rapid retriggering, and add custom sound files. It operates by reading raw accelerometer data and does not modify system files or firmware.
Typical users include developers, power users, or anyone who wants a quick physical or USB‑based shortcut to run scripts, mute the desktop, or play alerts, providing a hands‑on, programmable interface for everyday macOS tasks.
Reviews
Loading reviews…
Similar apps

Window & Desktop Management
SlapWindows
Slap your Windows, it screams back

Clipboard, Input & Automation
Slapppy
Trigger macros with rhythmic taps on your trackpad or mouse

Clipboard, Input & Automation
Faahh
Slap your desk. Unplug distractions. Get back to focus.

System Monitoring & Maintenance
MacYaps
Battery dying? WiFi gone? Your Mac finally talks back.

Clipboard, Input & Automation
Actions
Provides many useful actions for the Shortcuts app.

Clipboard, Input & Automation
Unclack
Mutes your keyboard while you type