Bar draws over the screensaver since it moved to a special workspace
System details
Framework 13, AMD Ryzen AI 9 HX 370 / Radeon 890M, Omarchy 4.0.0.r6687.gb18ab49-1 (omarchy-dev), Hyprland 0.56.2, kernel 7.2.5-4-omarchy, foot as default terminal, external monitor (DP-7)
What's wrong?
Since bf44355a9 (#3284), omarchy-launch-screensaver opens each screensaver on a special workspace (special:screensaver-<monitor>), and now the Omarchy bar is drawn on top of the screensaver. Notification popups also show above it; #9629 already covers those.
Expected: the screensaver covers the whole screen, bar included, as it did when it opened on a regular workspace.
Steps to recreate:
omarchy-launch-screensaver force- The bar stays visible across the top of the screensaver.
State while the screensaver is up:
- screensaver client:
workspace: special:screensaver-DP-7,fullscreen: 2,fullscreenClient: 2,floating: true hyprctl workspaces:special:screensaver-DP-7reportshasfullscreen: truehyprctl layers:omarchy-barstays on layer level 2 (top)
Root cause: Hyprland hides top-layer surfaces behind a fullscreen window on the active regular workspace, but not behind a fullscreen window on a special workspace. The bar is a top-layer surface, so a special-workspace screensaver can't cover it, even though it really is fullscreen.
Possible fixes: hide the bar (and other top-layer shell surfaces) while an org.omarchy.screensaver client is mapped, or put the bar on a layer that Hyprland suppresses for special-workspace fullscreen windows.
omarchy-launch-screensaver force on current master: the bar stays drawn over the fullscreen screensaver (calendar entry redacted).
Checked against quattro at 7dd477b35: the bug is still there. omarchy-launch-screensaver opens each screensaver on special:screensaver-<monitor> (line 56), the window rule makes it fullscreen (default/hypr/apps/system.lua:33), and the bar is mapped on WlrLayer.Top unconditionally (shell/plugins/bar/Bar.qml:1375). The part that rests on Hyprland, that a fullscreen window on a special workspace does not hide top-layer surfaces, was not reproduced here; it matches the hyprctl state you captured and the same state in the later report #14334 on different hardware.
#13776 fixes it: it drops the bar to the bottom layer while the idle service counts an open screensaver window, and it already names this issue so it closes when that merges. #14162 edits the same line but keys off the monitor's active (regular) workspace, so it does not cover the screensaver and the two need combining whichever lands second. Notification popups over the screensaver remain #9629's.
Reviewed by Claude Opus 5.5, with a second opinion from Codex Medium, which reached the same reading independently of the source but read my prompt, so its agreement is not a fully independent check. Nothing was run on a worker for this issue; the fix is verified on its own pull request. This now waits on the maintainer's decision on #13776.
Still reproduces on Omarchy 4.5.0-3 (Hyprland 0.56.2, Quickshell 0.3.2, single laptop monitor eDP-1, real hardware): both the idle screensaver and omarchy-launch-screensaver force open fullscreen on special:screensaver-eDP-1, and the bar stays drawn on top.
Note that #13776 was closed without being merged on 2026-10-28, so nothing is currently set to close this issue. #17847 (opened for the duplicate #17844) takes a different approach: it hides the bar strip when the monitor's visible special workspace has a fullscreen window. I applied the same change locally to a cloned bar plugin and it works on real hardware. The bar hides while the screensaver is up and comes back once it is dismissed. One thing to watch: the change only took effect after omarchy restart shell, because the local plugin hot reload did not pick up the edited Bar.qml.
Another data point on Omarchy 4.5.0-3 / Hyprland 0.56.2 / Quickshell 0.3.2.r7: whether the bar shows depends on the regular workspace under the screensaver.
- Active workspace has windows (tiled, none fullscreen): the bar stays drawn over the screensaver.
- Active workspace is empty: the screensaver covers the bar, as expected.
Reproduced on two machines (desktop: Intel Arc A380, external 4K DP-1 at scale 1.6; laptop: Iris Xe, eDP-1 at scale 1). The laptop first looked unaffected only because its active workspace happened to be empty. Scale (1.6 vs 2) makes no difference. In both cases the screensaver client is special:screensaver-<monitor>, fullscreen: 2, covering the full monitor, with omarchy-bar on layer level 2.
So Hyprland does hide top layers behind a fullscreen special-workspace window in some cases. It looks tied to the content of the regular workspace underneath, not to the special workspace alone.
Also reproduces here on Omarchy 4.5.0-3 / Hyprland 0.56.2 / Quickshell 0.3.2.r7 (Intel Arc B390, single 5K monitor at scale 2, foot). A fullscreen window on the regular workspace hides the bar; the screensaver on special:screensaver-DP-1 does not, even after re-applying fullscreen to it.
Until this is fixed, here is a user-side workaround that needs no changes under /usr/share/omarchy. It hides the bar through the stock bar-off toggle while a screensaver window exists and restores it when the last one closes.
Save as ~/.config/hypr/screensaver-bar.lua:
-- Hide the top bar while the screensaver runs.
--
-- The screensaver opens fullscreen on a special workspace, and Hyprland only
-- fades Top layers (the bar) for a fullscreen window on a monitor's normal
-- workspace, so the bar would otherwise stay on top of it. The bar is hidden
-- through the bar-off toggle, and a marker records that it was us who hid it,
-- so a bar the user hid on purpose stays hidden afterwards.
--
-- The class is split in every shell command: the screensaver exits with
-- `pkill -f` on its class, and its launcher refuses to start when `pgrep -f`
-- finds it, so it must never appear in a command line of ours.
local CLASS = "org.omarchy.screensaver"
local MARKER = (os.getenv("HOME") or "") .. "/.local/state/omarchy/screensaver-hid-bar"
local function run(script)
hl.exec_cmd("bash -c " .. o.shell_quote("M=\"$HOME/.local/state/omarchy/screensaver-hid-bar\"; S=org.omarchy.screen; S=${S}saver; " .. script))
end
local function marker_exists()
local file = io.open(MARKER, "r")
if file then
file:close()
return true
end
return false
end
-- Shows the bar again once no mapped screensaver is left. A closing window can
-- still be listed for a moment, so it looks again for a few seconds; if one is
-- still up after that (another monitor's), its own close will try again.
local RESTORE = [[
for i in $(seq 1 ${TRIES:-10}); do
[ -f "$M" ] || exit 0
if ! hyprctl clients -j | SS="$S" jq -e 'any(.[]; .mapped and .class == env.SS)' >/dev/null; then
rm -f "$M"; omarchy-toggle-bar off; exit 0
fi
sleep 0.3
done]]
hl.on("window.open", function(window)
if window and window.class == CLASS then
run([[if [ -f "$M" ] || ! omarchy-toggle-enabled bar-off; then mkdir -p "${M%/*}"; touch "$M"; omarchy-toggle-bar on; fi]])
end
end)
-- The class of a destroyed window is not relied on; the marker says whether
-- there is anything to undo.
hl.on("window.destroy", function()
if marker_exists() then
run(RESTORE)
end
end)
-- Never strand the bar hidden across a crash or a reload.
local function recover()
if marker_exists() then
run("TRIES=1; " .. RESTORE)
end
end
hl.on("hyprland.start", recover)
hl.on("config.reloaded", recover)
Then add this to ~/.config/hypr/hyprland.lua, after the other require("hypr.…") lines:
require("hypr.screensaver-bar")
Notes:
- A marker file records that the screensaver hid the bar, so a bar you hid yourself stays hidden afterwards, and a config reload or Hyprland start restores the bar if a crash left it hidden.
- Tested on one monitor: bar hidden during the screensaver, back about 2 seconds after it closes. Multi-monitor is untested; the restore waits until no mapped screensaver window is left.
- Side effect: while the bar is hidden its reserved space is released, so tiled windows underneath resize and you may see a brief re-tile as the screensaver closes.
- It only covers the bar, not the dock (#16717) or notifications.
Reproduced the overlap with the v4.5.0 code on a disposable worker: restarting the shell while the terminal screensaver remained fullscreen made the bar appear above it. The same sequence on quattro at 419a5a7095d118a218d5f84548dbd83ce90067e6 kept the bar covered; switching back to 4.5.0 brought the overlap back.
On quattro, fdbe182d39c82a847e8b12708020d916105f7784 replaced the terminal screensaver with the native Wayland screensaver. hyprctl layers showed its surface on Overlay (3), above the bar on Top (2), with no screensaver client on a special workspace. This launcher change is absent from the v4.5.0 tag. #13776 closed without merging, so the fix named in my earlier comment will not close this issue. #17847 remains a separate change to the bar’s handling of fullscreen special workspaces.
The comparison used the same current worker packages throughout: Hyprland 0.57.2, Quickshell 0.3.2.r7 and native screensaver 1.3.1, on one virtual display. The initial 4.5.0 launch covered the bar; shell recreation exposed the reproduced overlap. The reporters’ first-launch case on 0.56.2 and physical multi-monitor setups remain untested. The captures below show the same top-edge region after shell recreation.
Reviewed by Codex High and Opus 5.5 High and muse-wonder via pi, thinking high. The second opinions agreed with the native-overlay diagnosis; independence is not guaranteed. This remains open for the maintainer to decide delivery to the 4.5 release line and when to close the report.
Also reproduces on Omarchy 4.5.0-3 / Hyprland 0.56.2 / Quickshell 0.3.2.r7, on NVIDIA (RTX 4060, AD107) with two monitors: HDMI-A-1 at 1920x1080 rotated (transform = 3) and HDMI-A-2 at 1920x1080, both scale 1, kitty as the default terminal.
With omarchy-launch-screensaver force, the screensaver on the rotated monitor is special:screensaver-HDMI-A-1, fullscreen: 2, fullscreenClient: 2, covering the whole output (at [840,-420], size [1080,1920]), and omarchy-bar stays drawn on top of it. In normal use the bar showed on only one of the two monitors, which matches @Switchmans's finding that it depends on whether the regular workspace under the screensaver has windows. So it also happens with a rotated output on NVIDIA.
For now I'm using a user-side workaround like the one above: a small script on Hyprland's socket2 that runs omarchy toggle bar on on openwindow for the screensaver class and omarchy toggle bar off once the last screensaver window closes. #17847 looks like the right fix.
Another data point on 4.5.0-3 / Hyprland 0.56.2 (single DP monitor, scale 4/3, Ghostty): the layout of the regular workspace underneath matters, not only whether it has windows.
Same screensaver-class test window on special:screensaver-DP-3, fullscreen: 2:
- empty workspace, dwindle: bar covered
- empty workspace, scrolling (via Omarchy's per-workspace mode): bar drawn on top
- workspace with one window, scrolling: bar drawn on top
Under scrolling, CScrollingFullscreenHandler::updateFullscreenFade() calls setFullscreenFadeAnimation(ANIMATION_TYPE_OUT) on its own workspace when nothing there covers the monitor, which resets the Top layers' fade alpha on the active workspace. That would fit @Switchmans's dwindle observation too, if dwindle sends the same OUT only once it has windows to lay out. I haven't traced which event triggers it during the screensaver launch.
The scrolling result narrows the diagnosis: an empty regular workspace is not sufficient to keep the bar hidden. My October comment was too broad about fullscreen special workspaces not hiding Top-layer surfaces.
Hyprland 0.56.2 has a source path consistent with this: scrolling recalculation reaches the fullscreen-fade update even with zero columns. The scrolling handler sends OUT for its own workspace, and the fade code restores Top-layer opacity without checking fullscreen on the other active workspace. What triggers that recalculation after the screensaver enters fullscreen remains untraced. This was source reading; no new runtime tests ran on 0.56.2.
The current native screensaver on quattro uses Overlay above the Top bar, outside that fade loop. The earlier single-output, Hyprland 0.57.2 worker comparison remains the extent of the runtime verification. Delivery to the 4.5 release line and issue closure still wait on the maintainer.
Checked by Codex High, with source reviews by Opus 5.5 High and muse-wonder via pi, thinking high. Both agreed with the fade-reset explanation; independence is not guaranteed. Opus also identified the monitor-wide layer flag reset, which I checked in the scrolling handler.