Dock: New "exclusive" settings to ensure no windows go below.

This commit is contained in:
LemmyCook 2025-09-11 19:14:19 -04:00
parent d80e9ba3d5
commit df2a9a246d
2 changed files with 8 additions and 0 deletions

View file

@ -33,6 +33,7 @@ Variants {
screen: modelData
WlrLayershell.namespace: "noctalia-dock"
WlrLayershell.exclusionMode: Settings.data.dock.exclusive ? ExclusionMode.Auto : ExclusionMode.Ignore
readonly property bool autoHide: Settings.data.dock.autoHide
readonly property int hideDelay: 500

View file

@ -154,6 +154,13 @@ ColumnLayout {
onToggled: checked => Settings.data.dock.autoHide = checked
}
NToggle {
label: "Exclusive Dock"
description: "Ensure windows don't open underneath the Dock."
checked: Settings.data.dock.exclusive
onToggled: checked => Settings.data.dock.exclusive = checked
}
ColumnLayout {
spacing: Style.marginXXS * scaling
Layout.fillWidth: true