Orion/2. Areas/Home Personal/knowledge/espanso-dies-silently-hyprland-restart.md
Avi a66996ac10 Orion vault — clean initial history
Knowledge vault (Orion/PARA) migrated from the pre-Orion 484vault on
2026-10-01. Deliberately orphaned: prior history contained a plaintext
password and stays local-only on branch archive/pre-boilerplate-history.
Secrets and live Hermes state are gitignored.
2026-10-02 08:34:48 -05:00

15 lines
885 B
Markdown

---
last-updated: 2026-09-18T03:30:00-05:00
hermes-owned: true
tags: [espanso, omarchy, hyprland, systemd]
---
# espanso dies silently after Hyprland restart (Omarchy)
**Symptom:** espanso expansions stop working; `espanso status` shows it down. No crash log — the worker exits with code 0 when a Hyprland restart kills its event loop. On boot there is also a race: espanso panics with `NoCompositor` if it starts before Wayland is up.
**Diagnosis path:** `espanso status` + `journalctl --user -u espanso` — exit code 0 (not a crash) right after a compositor restart is the tell.
**Fix (installed 2026-09-17):** drop-in `~/.config/systemd/user/espanso.service.d/selfheal.conf` with `Restart=always`, `RestartSec=5`, `StartLimitBurst=30` in `600s`. Manual `espanso restart` should no longer be needed.
Related: [[Troubleshooting Index]] · [[hyprctl-dispatch-lua-shim-syntax]]