How mortennn/dozer works
Dozer is a macOS menu-bar utility for hiding and revealing groups of status icons. Its main workflow is menu-bar clicks or a configured shortcut → icon visibility changes; right-click opens preferences for behavior such as optional remove-icon toggling and delayed hiding. The graph also includes launch-time behavior, Dock visibility, login and update settings. The README documents these capabilities; some subsystem wiring is inferred only where the sampled source does not expose its implementation.
Main entry points: DozerIcons.swift Icon manager · GeneralVC.swift General settings · AppDelegate.swift App delegate · NormalStatusIcon.swift Normal icon
Components 17
App startup
- App entry
Dozer/Other/main.swift - App delegate
Dozer/AppDelegate.swift
Menu-bar icons
- Icon manager
Dozer/DozerIcons.swift - Normal icon
Dozer/StatusIconClasses/NormalStatusIcon.swift - Remove icon
Dozer/StatusIconClasses/RemoveStatusIcon.swift - Status icon base
Dozer/StatusIconClasses/HelperStatusIcon.swift
Preferences
- General settings
Dozer/ViewControllers/GeneralVC.swift - Dozer settings
Dozer/ViewControllers/DozerVC.swift - Preferences window
Dozer/AppDelegate.swift
System integrations
- Shortcut service
- User defaults
- Login service
- Sparkle updater
- App workspace
- Window list
Other components
- User
- macOS
Connections 28
- App entry → App delegate: sets delegate
- App delegate → Icon manager: initializes
- App delegate → Icon manager: hides at launch
- App delegate → Shortcut service: binds shortcut
- Shortcut service → Icon manager: toggles icons
- Icon manager → Normal icon: creates and controls
- Icon manager → Remove icon: creates and controls
- Normal icon → Icon manager: dispatches click
- Remove icon → Icon manager: dispatches click
- Normal icon → Preferences window: opens settings
- Remove icon → Preferences window: opens settings
- Icon manager → Status icon base: shows or hides
- User → Normal icon: clicks icon
- User → Remove icon: option-clicks
- User → General settings: changes settings
- App delegate → Preferences window: creates window
- Preferences window → General settings: presents pane
- Preferences window → Dozer settings: presents pane
- General settings → Icon manager: updates behavior
- General settings → User defaults: reads and writes
- Icon manager → User defaults: reads and writes
- General settings → Login service: sets login launch
- General settings → Sparkle updater: sets update checks
- Dozer settings → Sparkle updater: checks for updates
- Icon manager → App workspace: checks frontmost app
- Icon manager → Window list: detects icon activity
- Icon manager → macOS: changes Dock visibility
- macOS → Icon manager: reports icon events