The task manager and true minimize/restore system for Omarchy (Hyprland 0.56.x). Minimized windows stay visible in the dock — one click brings them back. One part of a complete desktop experience — see Why AppDock and Companion plugins.
- App Dock in the bar's left section (after the workspace numbers): one icon per window on the current workspace, with real app icons
- Click the focused app → minimizes to the dock (icon dims, dot indicator appears)
- Click a minimized icon → restores it to the workspace you're on
- Right-click any icon → a menu: the app's windows on this workspace, Quit (asks them to close), and — while holding Alt — Force Quit (Hyprland's window kill). Only one menu can be open at a time across monitors.
- Per-workspace docks: minimized windows only appear on the workspace they came from
- Native titlebars on floating windows (close X / minimize _ / maximize □) via hyprbars, wired to the same engine
- Keyboard flow works out of the box: install.sh registers Super+Minus / Super+0 through Omarchy's toggle loader (no hand-editing bindings.lua)
- Middle-click a dock icon to close; hover for app name + title
Omarchy's opinion is a tiling, keyboard-first desktop — which is why Hyprland 0.56 ships with no minimize at all. AppDock brings the familiar task-manager model back without fighting that opinion:
- Real minimize, not just indicators. Windows move to a hidden
special:minimizedworkspace; a sidecar remembers each window's origin workspace, so docks are per-workspace and restore is one click. Launcher docks and workspace overviews show you what's running — none of them can minimize a window and bring it back. - A task manager, not a launcher. Launcher docks (Animated Dock, OmaPanel) magnify and launch pinned apps. AppDock mirrors your actual windows: click the focused app to minimize it, click a dimmed icon to restore, middle-click to close.
- Keyboard flow stays first-class. Super+Minus / Super+0 drive the same engine, and devmobasa's Window Switcher covers Alt+Tab for minimized windows (native
cycle_nextcan't see them). - Optional titlebar buttons. With hyprbars, floating windows get close/minimize/maximize wired to the same minimize engine — not just a hover close button.
AppDock is one leg of a three-plugin desktop. Each plugin owns one layer — no overlap, no duplicated keybinds — and the switcher and titlebars ride on AppDock's minimize engine:
- Floating Window Mode (jwm3000) — the floating layer: float windows freely, aero-snap them to screen edges
- Window Switcher (devmobasa) — the keyboard layer: MRU Alt+Tab list that includes minimized windows, which native
cycle_nextcannot see - AppDock — the task-manager layer: dock icons, minimize/restore, titlebar buttons
- hyprbars (optional) — native titlebar close/minimize/maximize buttons wired to the same engine; see
docs/build-hyprbars.md
Install all three and Omarchy behaves like a conventional desktop when you reach for the mouse, and a tiling WM when you stay on the keyboard.
- Omarchy 4.x with Hyprland 0.56.x
- hyprbars.so for the titlebar buttons — optional; the dock itself works without it (see
docs/build-hyprbars.md)
Install a pinned release (recommended — you get an immutable snapshot and can review every file before anything runs):
curl -fsSL https://github.com/gdeyoung/omarchy-appdock/archive/refs/tags/v0.2.3.tar.gz | tar xz -C /tmp
less /tmp/omarchy-appdock-0.2.3/install.sh # review before running — it's your machine
/tmp/omarchy-appdock-0.2.3/install.sh
omarchy restart shellOr from a pinned tag with git:
git clone --depth 1 --branch v0.2.3 https://github.com/gdeyoung/omarchy-appdock.git
cd omarchy-appdock
./install.sh
omarchy restart shellThe installer:
- Copies the dock widget to
~/.config/omarchy/plugins/gdeyoung.appdock/ - Installs
omarchy-minimize-window.sh/omarchy-restore-window.shto~/.local/bin/ - Installs
~/.config/hypr/appdock.lua(titlebars + buttons) and addsrequire("hypr.appdock")to your hyprland config - Enables the widget and places it after the workspace numbers
- Prints keybinding hints (Super+Minus minimize / Super+0 restore)
Non-destructive: existing files are backed up with .bak.<timestamp> suffixes. Runs as your own user — sudo is not required, and the installer exits if started as root.
Runtime state (origin workspaces, window thumbnails) lives only in $XDG_RUNTIME_DIR/hyprland-minimizer/ — an owner-only directory (0700, files 0600) that systemd wipes at logout. Nothing is written to /tmp, and no privileged operation ever trusts shared temp state.
The minimize/restore scripts pass all data into Python as argv — window titles and addresses are never interpolated into source code — and they never need root. The installer writes only inside $HOME (scope documented in its header) and never modifies sudoers or system units.
Hyprland 0.56 has no native minimize. AppDock implements the community pattern:
- Minimize = move the window to the hidden
special:minimizedworkspace (hl.dsp.window.move({ window = "address:...", workspace = "special:minimized", follow = false })) - A sidecar at
$XDG_RUNTIME_DIR/hyprland-minimizer/state.jsonrecords each window's origin workspace — that's what makes docks per-workspace - Restore = move it back with
follow = true, then focus it - The dock widget watches both the compositor's toplevel list (live windows) and the sidecar (origins) — everything updates reactively
- Dock doesn't appear after editing DockWidget.qml — bar widgets don't
re-instantiate on hot-reload; run
omarchy restart shell - Icons show letters instead of app icons — the desktop entry didn't match; the widget falls back through class → StartupWMClass → heuristic → PID→exe
- A minimized window feels "lost" — click its dimmed icon in the dock, or press Super+0; unknown-origin windows appear on every workspace by design
| Repo file | Installs to |
|---|---|
DockWidget.qml + manifest.json |
~/.config/omarchy/plugins/gdeyoung.appdock/ |
bin/appdock-minimize |
~/.local/bin/omarchy-minimize-window.sh |
bin/appdock-restore |
~/.local/bin/omarchy-restore-window.sh |
hypr/appdock.lua |
~/.config/hypr/appdock.lua |
docs/build-hyprbars.md |
(reference only) |
omarchy plugin disable gdeyoung.appdock
# Remove the dock from the bar layout: edit ~/.config/omarchy/shell.json
# and delete "gdeyoung.appdock" from the left-section array
rm -rf ~/.config/omarchy/plugins/gdeyoung.appdock
rm -f ~/.local/bin/omarchy-minimize-window.sh ~/.local/bin/omarchy-restore-window.sh
rm -f ~/.config/hypr/appdock.lua
# Remove the AppDock line from ~/.config/hypr/hyprland.lua:
# require("hypr.appdock")
# If you added the Super+Minus / Super+0 binds to ~/.config/hypr/bindings.lua, remove those too.
omarchy restart shellBackups made by the installer (*.bak.<timestamp>) can be restored over the live files, or simply deleted.
MIT — see LICENSE.
