Skip to content

Click2Minimize v2.1

Latest

Choose a tag to compare

@hatimhtm hatimhtm released this 10 May 22:47
· 1 commit to main since this release

v2.1 — polish pass + source-available license

A bug-fix and quality-of-life release on top of the v2.0 overhaul.

Fixed

  • Fullscreen detection was wrong. isActiveAppFullscreen() was inspecting Click2Minimize's own NSWindows — it always returned false, so the click-to-minimize fired even on fullscreen apps. Rewritten to read AXFullScreen on the frontmost app via Accessibility.
  • Dock-item ignore-list bug. "Launchpad||Trash||Downloads".contains(name) was substring-matching — would catch any app with "Trash" or "Downloads" in its name. Replaced with proper Set membership.
  • Debounce never actually debounced. Bursts of didLaunch / didActivate / activeSpaceDidChange were each triggering a fresh AppleScript dock query. Rewritten as a trailing-edge DispatchWorkItem at 300 ms.
  • Deprecated API. NSWorkspace.launchApplication(_:) swapped for openApplication(at:configuration:completionHandler:).

Improved

  • All print() calls migrated to os.Logger (subsystem com.idemfactor.Click2Minimize). Release builds no longer write to stdout.
  • Launch-at-login is now opt-in via a Settings toggle. Was unconditional before — existing installs that were auto-registered stay registered until toggled off.
  • Settings sheet redesigned: launch-at-login row, cleaner spacing, footnote anchored.
  • build_dmg.sh actually builds universal (arm64 + x86_64) now — the previous version had the comment but not the ARCHS flags.

Packaging

  • Added LICENSE: PolyForm Noncommercial 1.0.0 — source-available, personal/non-profit use OK, commercial use needs a separate license.
  • New brutalist README with light/dark hero banners.
  • Bundle version aligned: MARKETING_VERSION 1.4 → 2.1 so the in-app version matches the GitHub release tag.

Install

  1. Download Click2Minimize.dmg below.
  2. Drag the app into /Applications.
  3. First launch: right-click → Open to get past Gatekeeper (ad-hoc signed, not notarized).
  4. Grant Accessibility (and Automation if asked) when prompted.