Skip to content

Harper Desktop: Allow Users to Hide The Icon from Dock #3705

Description

@kongwy

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

  • Core engine
  • Plugin/Extension
  • Other: Harper Desktop (macOS)

Additional Context

Reference from the Tauri project on using the activation policy to hide the Dock icon: tauri-apps/tauri#6038

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopRelated to the Harper desktop applicationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions