omarchy-launch-shell treats IPC exit 0 as a stop; a failed replacement leaves no bar
System details
Intel Core Ultra 5 225, NVIDIA GeForce RTX 5080, Omarchy 4.0.2-1, Hyprland 0.56.2
What's wrong?
omarchy-launch-shell documents a clean Quickshell exit as a deliberate stop:
# A clean exit is a deliberate stop
# (omarchy-restart-shell starts its own replacement)
(( status == 0 )) && exit 0
omarchy-restart-shell kills the running config (quickshell kill …) then hyprctl dispatch exec_cmd("omarchy-launch-shell"). The old supervisor sees exit 0 and leaves. That is fine if the new launcher stays up.
It is not fine when the replacement dies in the same window:
- Plugin hot-reload storm (recursive inotify on
~/.config/omarchy/plugins, including git checkouts) makes the shell IPC-exit or fail to come up. - Journal:
Exiting due to IPC request, thenAn instance of this configuration is already running. - The supervisor has already exited on status 0, so nothing relaunches.
- Bar, Super binds that go through the shell, idle, and screensaver stay dead. This seat sat that way from 12:22 until 15:20.
Expected: a graphical session that still has Hyprland should not be left without a shell after an IPC restart + failed replacement. Either:
omarchy-launch-shellshould relaunch on exit 0 while the compositor is alive, unless an explicit stop sentinel is present, oromarchy-restart-shellshould start the new supervisor before killing (or stay in the loop until ping succeeds and start another launcher if it does not)
We work around this with a user-unit that pings every 5s and only calls omarchy-launch-shell if no Quickshell process is alive (ping from the unit env can fail while the bar is up). That should not be required for stock.
I traced this in source on current quattro (4df545905) and Quickshell 0.3.2. The mechanism you describe is real, and the restart race that most likely triggered it has been narrowed since 4.0.2, but not closed.
Why nothing relaunches. quickshell -n returns status 0 when it refuses to start because an instance of the same config is still registered (src/launch/command.cpp, launchFromCommand: it logs "An instance of this configuration is already running." and returns 0). bin/omarchy-launch-shell reads every status 0 as a deliberate stop ((( status == 0 )) && exit 0), so a refused replacement takes its supervisor with it. The old supervisor has already left on its own shell's clean IPC exit, and omarchy-restart-shell only polls for a ping and reports failure. Once the dying instance finishes, there is no shell and nothing watching.
What changed on quattro. In 4.0.2, omarchy-restart-shell gave quickshell kill five seconds and then dispatched the new launcher immediately, so a bar that took longer to tear down got exactly the refusal in your journal. #11015 (merged 2026-10-04, not yet in a release tag; v4.0.4 does not contain it) raises the kill timeout to 30 seconds and then waits up to 30 more for the instance to disappear from quickshell list before dispatching.
What is left. The launcher still cannot tell "stopped on purpose" from "refused as a duplicate", because both are status 0. If teardown outlasts both waits, restart dispatches anyway and the same thing happens. Autostart (default/hypr/autostart.lua:14) also starts the launcher without any wait.
On the trigger. Stock Omarchy does watch ~/.config/omarchy/plugins recursively (shell/services/PluginRegistry.qml, inotifywait -m -r, skipping .git paths), but that reloads plugins inside the running process and issues no IPC exit. I could not establish what sent "Exiting due to IPC request" on your machine. If you can share the journal lines from just before it (journalctl --user -t omarchy-shell around 12:22) and say whether anything in your setup calls omarchy restart shell or quickshell kill, that would settle it.
Not filed as a fix. Every way to close the residual window decides who owns the shell's lifecycle: a stop sentinel, relaunching on 0 while Hyprland lives, the launcher waiting out a prior instance, or restart supervising until a ping succeeds. That choice is the maintainer's, so this waits on them. Nothing was run on a worker. The diagnosis is from reading the source, and no reproduction was attempted.
Reviewed by Claude Opus 5.5 and, as a second opinion, Codex at medium effort. Codex reached the same mechanism and added the autostart path and the in-process plugin reload. It read the same tree, so its agreement is not guaranteed to be independent.
Additional data point on 4.0.4-1 (quickshell 0.3.1), which answers the open question about what sent the IPC exit: it was the stock post-update path, omarchy-update -> omarchy-update-restart -> omarchy-restart-shell.
20:01:36 sudo: ... pacman -Syu --noconfirm --overwrite /usr/share/omarchy/*
20:02:28 omarchy-shell[428272]: INFO: Exiting due to IPC request.
20:02:30 omarchy-shell[686623]: An instance of this configuration is already running.
No further shell output until a manual relaunch 18 minutes later. The old instance had been up for ~4 hours. Confirmed locally that quickshell -n -p /usr/share/omarchy/shell exits 0 when an instance is already running, so the launcher gave up as described. On a freshly started instance the same kill + relaunch completes cleanly, so it appears to depend on teardown time of a long-running shell. omarchy-update-restart runs omarchy-restart-shell || true, so the "did not become ready" error is not visible to the user after the update either.
Filed by Claude Opus 5.5 via Claude Code.
Thanks @avalenciaDeuSens, that answers the open question: the IPC exit came from the stock post-update restart (omarchy-update → omarchy-update-restart → omarchy-restart-shell), not from anything specific to one setup. #14383 was the same report and was closed as fixed by #11015.
Your 4.0.4-1 does not have #11015. It is on quattro (454b67d95) but in no release tag yet, and v4.0.4 is not an ancestor of it. So your log shows the old restart: a 5-second quickshell kill, then the new launcher dispatched straight away. #11015 gives the kill 30 seconds and then waits up to 30 more for the instance to leave quickshell list before it dispatches.
Reproduced on a worker. On a clean Omarchy worker with Quickshell 0.3.1, I started quattro's bin/omarchy-launch-shell (e7d8f5be8) while the running instance was still registered. Quickshell logged "An instance of this configuration is already running." and the launcher exited 0 after a second. When I then stopped the old instance over IPC, as omarchy-restart-shell does, its own launcher also exited on status 0. That left no shell, no launcher and "No running instances." The mechanism is confirmed on current code: whenever a replacement starts before the old instance has unregistered, the bar does not come back.
What #11015 leaves open. After its wait, omarchy-restart-shell dispatches even if the instance is still registered. Autostart (default/hypr/autostart.lua:14) starts the launcher without waiting. And omarchy-update-restart runs omarchy-restart-shell || true, so after an update the "did not become ready" error goes unseen, as you noted. Draft #7546 takes a different approach: it sends TERM to the launchers, waits for them, and refuses to dispatch while any remain. It predates #11015 and no longer applies cleanly.
Waiting on the maintainer. I am not filing a fix. Closing the remaining window means choosing how the launcher tells "stopped on purpose" from "refused as a duplicate". Codex suggested a narrow option: retry within a deadline only when the child was refused, and have restart refuse to dispatch until the old instance is confirmed gone. That still decides who owns the shell's lifecycle, so it is the maintainer's call. Once #11015 ships in a release, a report of this after an update would show whether it happens outside that window.
Diagnosis and worker reproduction by Claude Opus 5.5, with Codex at medium effort as the second opinion. Codex independently reached the same mechanism, confirmed that #11015 is not in v4.0.4, and contributed the narrow-retry option and the reading of #7546. It worked from the same tree, so its agreement is not guaranteed to be independent.