Skip to content

DockLock v0.2.1

Choose a tag to compare

@atomsbaza atomsbaza released this 19 Apr 06:14
· 95 commits to main since this release
11c1a04

Auto-lock your Mac on Bluetooth proximity + panic-hide sensitive apps with one hotkey.


What's New

πŸ”§ Panic Mode β€” No More Overlay Flash on App Switch

  • Switching from a non-safelisted app to a safelisted app no longer causes a blur flash
  • Previously: the overlay briefly showed a wrong-sized hole (blur strip along the window edge) before correcting itself β€” caused by the app relaying out its window chrome (tab bar, traffic lights) during activation, making the cached AX rect momentarily narrower than the final rect
  • Now: overlay alpha clears to 0 instantly on every app switch (suppressing macOS's implicit CA fade), then rebuilds the mask from the settled rect 70 ms later and fades back in smoothly over 180 ms
  • Rapid back-to-back app switches cancel any pending reapply so no stale state accumulates

Bug Fixes

  • Fixed: blur flash when switching from a non-safelisted to a safelisted app during Panic Mode
  • Fixed: mask rebuild on activation could query AX mid-relayout, producing a hole too narrow for the app's actual window β€” now rebuilds only after the window has settled

Installation

  1. Download DockLock-v0.2.1.dmg below
  2. Open the .dmg and drag DockLock.app to Applications
  3. Launch from Applications β€” right-click β†’ Open on first launch (see note below)
  4. Grant Accessibility and Camera permissions when prompted

⚠️ Gatekeeper warning: macOS will show a security warning on first launch since the app is not yet notarized. Right-click β†’ Open β†’ Open anyway, or run:

xattr -cr /Applications/DockLock.app

Notarization is planned for a future release once the Apple Developer account is active.

Requirements: macOS 15 Sequoia or later Β· Apple Silicon or Intel


Build from Source

git clone https://github.com/atomsbaza/DockLock.git
cd DockLock
open DockLock.xcodeproj

Requires Xcode 16+ and Swift 6.0+.


What's Next

  • Notarized release β€” no Gatekeeper warning, Homebrew Cask (brew install --cask docklock)
  • iCloud Sync activated β€” Settings, App Safelist, and Lock History sync across all your Macs

Feedback

Found a bug? Open an issue
Have a feature request? Request here
Security issue? Email atomsbaza2@gmail.com