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": {
|
||||
"logo": "caelestia",
|
||||
"showOverFullscreen": false,
|
||||
"mediaGifSpeedAdjustment": 300,
|
||||
"sessionGifSpeed": 0.7,
|
||||
"apps": {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue