Problem
It would be useful to have an option to hide the app's dock icon, similar to other menu bar apps.
Use Case
Users who prefer to run OpenUsage exclusively as a menu bar app may not want it to appear in the dock, reducing clutter.
Proposed Solution
- Add a toggle in Settings (e.g. "Hide dock icon")
- When enabled, the app runs as a menu bar-only app (
NSApp.setActivationPolicy(.accessory))
- The setting should persist across restarts
Alternatives Considered
No response
Additional Context
On macOS this can be achieved by calling NSApp.setActivationPolicy(.accessory) at launch when the preference is enabled, or dynamically at runtime.
Problem
It would be useful to have an option to hide the app's dock icon, similar to other menu bar apps.
Use Case
Users who prefer to run OpenUsage exclusively as a menu bar app may not want it to appear in the dock, reducing clutter.
Proposed Solution
NSApp.setActivationPolicy(.accessory))Alternatives Considered
No response
Additional Context
On macOS this can be achieved by calling
NSApp.setActivationPolicy(.accessory)at launch when the preference is enabled, or dynamically at runtime.