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