What problem does this solve?
Harper Desktop runs in the background all the time, but it keeps a permanent icon in the macOS Dock. For an app that mostly lives in the menu bar, the Dock icon just takes up space and adds visual clutter. There's currently no way to turn it off.
Proposed Solution
Add a setting to hide the Dock icon and run as a menu-bar-only app. Harper is built on Tauri, which exposes this through the app's activation policy:
#[cfg(target_os = "macos")]
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
Accessory keeps the app running and visible in the menu bar while removing it from the Dock. It can be toggled at runtime, so a checkbox in settings (e.g. "Hide Dock icon") could switch between Regular and Accessory without a restart.
Examples
Many menu-bar utilities on macOS work this way and offer the same toggle, for example Rectangle and Ice. The app stays reachable from the menu bar, and the Dock stays clean.
Component
Additional Context
Reference from the Tauri project on using the activation policy to hide the Dock icon: tauri-apps/tauri#6038
What problem does this solve?
Harper Desktop runs in the background all the time, but it keeps a permanent icon in the macOS Dock. For an app that mostly lives in the menu bar, the Dock icon just takes up space and adds visual clutter. There's currently no way to turn it off.
Proposed Solution
Add a setting to hide the Dock icon and run as a menu-bar-only app. Harper is built on Tauri, which exposes this through the app's activation policy:
Accessorykeeps the app running and visible in the menu bar while removing it from the Dock. It can be toggled at runtime, so a checkbox in settings (e.g. "Hide Dock icon") could switch betweenRegularandAccessorywithout a restart.Examples
Many menu-bar utilities on macOS work this way and offer the same toggle, for example Rectangle and Ice. The app stays reachable from the menu bar, and the Dock stays clean.
Component
Additional Context
Reference from the Tauri project on using the activation policy to hide the Dock icon: tauri-apps/tauri#6038