parent
a06fa38522
commit
dfbd0829e7
3 changed files with 3 additions and 1 deletions
|
|
@ -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": {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue