feat: add showOverFullscreen option + disable by default

Fixes #1377
This commit is contained in:
2 * r + 2 * t 2026-04-30 22:26:52 +10:00
parent a06fa38522
commit dfbd0829e7
3 changed files with 3 additions and 1 deletions

View file

@ -298,6 +298,7 @@ For example, to disable the bar on DP-1:
}, },
"general": { "general": {
"logo": "caelestia", "logo": "caelestia",
"showOverFullscreen": false,
"mediaGifSpeedAdjustment": 300, "mediaGifSpeedAdjustment": 300,
"sessionGifSpeed": 0.7, "sessionGifSpeed": 0.7,
"apps": { "apps": {

View file

@ -62,7 +62,7 @@ StyledWindow {
name: "drawers" name: "drawers"
WlrLayershell.exclusionMode: ExclusionMode.Ignore 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 WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session || panels.dashboard.needsKeyboard ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
mask: hasFullscreen ? emptyRegion : regions mask: hasFullscreen ? emptyRegion : regions

View file

@ -90,6 +90,7 @@ class GeneralConfig : public ConfigObject {
QML_ANONYMOUS QML_ANONYMOUS
CONFIG_GLOBAL_PROPERTY(QString, logo) CONFIG_GLOBAL_PROPERTY(QString, logo)
CONFIG_PROPERTY(bool, showOverFullscreen, false)
CONFIG_PROPERTY(qreal, mediaGifSpeedAdjustment, 300) CONFIG_PROPERTY(qreal, mediaGifSpeedAdjustment, 300)
CONFIG_PROPERTY(qreal, sessionGifSpeed, 0.7) CONFIG_PROPERTY(qreal, sessionGifSpeed, 0.7)
CONFIG_SUBOBJECT(GeneralApps, apps) CONFIG_SUBOBJECT(GeneralApps, apps)