Repository navigation
Add optional Hermes desktop integration - #6644
okurmustafa wants to merge 5 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds optional Hermes desktop installation, launch/focus integration, and desktop registration.
Changes:
- Adds Hermes installer, launcher, desktop entry, and AI menu option.
- Reserves
Super + Shift + Hfor Hermes. - Adds integration and binding tests.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-install-ai-hermes |
Installs and registers Hermes Desktop. |
bin/omarchy-launch-hermes |
Focuses, launches, or installs Hermes. |
default/applications/hermes.desktop |
Defines the desktop launcher. |
default/hypr/bindings/applications.lua |
Adds the Hermes shortcut. |
default/omarchy/omarchy-menu.jsonc |
Adds Hermes under Install › AI. |
docs/file-layout.md |
Documents installer-only desktop templates. |
test/shell.d/hermes-test.sh |
Tests installation and launch flows. |
test/shell.d/hyprland-default-config-test.sh |
Tests shortcut availability. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "install.terminal.ghostty": {"icon":"","label":"Ghostty","when":"! omarchy-pkg-present ghostty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal ghostty'"}, | ||
| "install.terminal.kitty": {"icon":"","label":"Kitty","when":"! omarchy-pkg-present kitty","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-install-terminal kitty'"}, | ||
| "install.ai.dictation": {"icon":"","label":"Dictation","when":"! omarchy-pkg-present voxtype-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install"}, | ||
| "install.ai.hermes": {"icon":"","label":"Hermes","when":"[[ ! -x \"$HOME/.hermes/hermes-agent/apps/desktop/release/linux-unpacked/Hermes\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-ai-hermes"}, |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (1)
test/shell.d/hermes-test.sh:103
- This assertion races the detached launch started by the installer. The installer returns immediately after
setsid ... &, so the mock may not have appended to the log when thisgrepruns, causing intermittent failures. Poll briefly as the existing detached-launch tests do before failing.
grep -Fxq 'launch:uwsm-app -- gtk-launch hermes' "$HERMES_TEST_LOG" ||
fail "Hermes installer opens the desktop app after installation"
Resolve test/cli conflict: keep the make_tmpdir refactor from quattro and the new Hermes theme-sync tests from this branch.
|
Closing in favour of #7469, which covers the install, removal and menu entries for Hermes Desktop. On the theming half specifically: @teknium1 is adding a system-matching theme option to Hermes, the way Claude Code and Codex already have one. That is the right place for it — Omarchy carrying a 355-line One piece here isn't in #7469 and isn't replaced by that: the Thanks for this — the desktop integration landed on much the same shape you had. |
Summary
Install > AIas an opt-in application, using the same AI icon as Ollama and LM StudioSuper + Shift + Hfor an install-or-launch flow matching Omarchy's Signal behaviorOmarchy Systemtheme that hot-reloads whenever the Omarchy theme changes, including when Desktop uses a remote Hermes backendWhy
Hermes supports Linux, but its official desktop installer currently builds the Electron application and provisions the Python backend locally. Launching it manually leaves users managing a terminal command, while the late Electron sandbox approval can make the installer appear stalled.
Hermes Desktop also owns its application palette rather than inheriting GTK colors automatically. This integration generates Hermes themes directly from Omarchy's shipped
colors.tomlpalettes, avoiding a network dependency or a separately maintained list of third-party theme packages. The Desktop theme bundle is installed as a client-local runtime plugin, so it remains available when Hermes connects to a remote backend.Generating all 22 named themes on every Omarchy theme change added unnecessary latency. Installation now creates the stable bundle once, while subsequent switches update only the 2.4 KB
Omarchy Systemplugin. Existing installations using the earlier combined plugin format migrate automatically on their next theme sync.This keeps Hermes optional while making installation, launching, and appearance behave like other Omarchy applications.
User impact
Hermes is not preinstalled. Users can install it from
Install > AI > Hermesor pressSuper + Shift + H. Once installed, the shortcut and app launcher focus or launch Hermes Desktop without opening a foreground terminal.Hermes receives every official Quattro palette plus
Omarchy System. The latter follows subsequent Omarchy theme changes in the running Desktop app, while matching generated skins are available to Hermes CLI/TUI users. On the test system, ordinary Hermes palette generation dropped from 1.92 seconds to 0.095 seconds.Validation
bash test/shell.d/hermes-test.shbash test/shell.d/hyprland-default-config-test.sh./test/clibash -non the changed shell scripts and testsgit diff --checkSuper + Shift + Hopened the installer and the completed install launched Hermes DesktopOmarchy System, switched Omarchy from Tokyo Night to White and back, and verified Hermes repainted live with readable contrast both ways./test/all: the CLI suite and Hermes coverage pass; the aggregate shell suite retains environment-only failures because Quickshell cannot access Wayland/runtime directories in the test sandbox and the optionalomarchy-pkgscheckout is absent