From 3030d20034eadc6d67f4880e19537ed985cc7575 Mon Sep 17 00:00:00 2001 From: rope Date: Sat, 15 Aug 2026 11:38:18 +0100 Subject: [PATCH] quickshell: raise bar to overlay layer while OSD is shown Co-Authored-By: Claude Opus 5 --- settings/quickshell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 7e3d53a..e4f644d 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -1790,6 +1790,10 @@ in required property var shellRoot screen: modelData WlrLayershell.namespace: "quickshell-bar" + // Hyprland doesn't render the top layer under a fullscreen + // window, so the OSD would be invisible exactly when a video + // is playing. Ride the overlay layer while it's on screen. + WlrLayershell.layer: osdItem.shown ? WlrLayer.Overlay : WlrLayer.Top // OnDemand + HyprlandFocusGrab is the working combination // (caelestia's): the grab redirects focus to this window and // OnDemand lets the layer surface accept it. Exclusive fights