From dfbd0829e7495faf02f4a863d7a20a6c76b58b75 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 30 Apr 2026 22:26:52 +1000 Subject: [PATCH] feat: add showOverFullscreen option + disable by default Fixes #1377 --- README.md | 1 + modules/drawers/ContentWindow.qml | 2 +- plugin/src/Caelestia/Config/generalconfig.hpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41c74df9..13b5ec8a 100644 --- a/README.md +++ b/README.md @@ -298,6 +298,7 @@ For example, to disable the bar on DP-1: }, "general": { "logo": "caelestia", + "showOverFullscreen": false, "mediaGifSpeedAdjustment": 300, "sessionGifSpeed": 0.7, "apps": { diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index 60bbe39f..677c84a0 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -62,7 +62,7 @@ StyledWindow { name: "drawers" WlrLayershell.exclusionMode: ExclusionMode.Ignore - WlrLayershell.layer: fsTransitionProg > 0 ? WlrLayer.Overlay : WlrLayer.Top + WlrLayershell.layer: fsTransitionProg > 0 && contentItem.Config.general.showOverFullscreen ? WlrLayer.Overlay : WlrLayer.Top WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session || panels.dashboard.needsKeyboard ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None mask: hasFullscreen ? emptyRegion : regions diff --git a/plugin/src/Caelestia/Config/generalconfig.hpp b/plugin/src/Caelestia/Config/generalconfig.hpp index 73a4915d..859302fe 100644 --- a/plugin/src/Caelestia/Config/generalconfig.hpp +++ b/plugin/src/Caelestia/Config/generalconfig.hpp @@ -90,6 +90,7 @@ class GeneralConfig : public ConfigObject { QML_ANONYMOUS CONFIG_GLOBAL_PROPERTY(QString, logo) + CONFIG_PROPERTY(bool, showOverFullscreen, false) CONFIG_PROPERTY(qreal, mediaGifSpeedAdjustment, 300) CONFIG_PROPERTY(qreal, sessionGifSpeed, 0.7) CONFIG_SUBOBJECT(GeneralApps, apps)