TapLock

TapLock

Temporarily disable keyboard and trackpad input, or take relaxing breaks on your Mac.

No root required.

CLI Version App Version macOS Swift
# Install via Homebrew
brew tap ugurcandede/taplock
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

Indefinite Mode Custom Duration Settings
Lock Screen

Full-screen countdown overlay during active lock


Relax Mode

Relax Setup Break Countdown Break Session Countdown Relax Settings

Overlay Themes

Minimal Theme Mini Theme
Breathing Theme Breathing Dark

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.


Links

CLI App Homebrew

Requirements

macOS 13.0 (Ventura) or later · Apple Silicon or Intel · Accessibility permission