TapLock
Temporarily disable keyboard and trackpad input, or take relaxing breaks on your Mac.
No root required.
brew tap ugurcandede/tap
brew install taplock # CLI
brew install --cask taplock-app # Menu bar app
Features
Input Blocking
Block keyboard, trackpad, and mouse via CGEvent tap at system level.
Countdown Overlay
Full-screen timer with current clock display. Customizable background color.
Flexible Duration
Set seconds, minutes, or lock indefinitely with 5-minute safety auto-unlock.
Screen Dimming
Reduce brightness to minimum during lock. Automatically restores on unlock.
Sound Feedback
Audio cues on lock start and end. Silent mode available.
Emergency Cancel
Hold ⌘⌥⌃L for 3 seconds to cancel any time — always works.
Relaxing Sessions
Periodic break reminders with calming overlay themes. Pomodoro-style or custom intervals.
No Root Required
Runs with standard user permissions. Only needs Accessibility access — no sudo, no admin.
Persistent Config
Save your relaxing session settings once. Next time, just run taplock relax.
Lock Mode
Full-screen countdown overlay during active lock
Relax Mode
Overlay Themes
Two Ways to Use
CLI
Power user friendly. Full control from the terminal with all options and flags.
taplock 30 --dim --color black taplock relax --every 25m --break 5m
Menu Bar App
Lock and Relax modes. Presets, custom input, theme selection — all from the menu bar.
Relax mode, ported to Windows
The break cycle, the three overlay themes, the posture reminder and the statistics — as a single .exe in the notification area. Lock mode stays on the Mac; relax mode never touches your input, so the port needs no driver and no admin rights. Config and event log share the macOS schema, so they travel between machines.
Requirements
macOS 13.0 (Ventura) or later · Apple Silicon or Intel · Accessibility permission