mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-06 03:55:02 +00:00
Dock: New "exclusive" settings to ensure no windows go below.
This commit is contained in:
@@ -33,6 +33,7 @@ Variants {
|
|||||||
screen: modelData
|
screen: modelData
|
||||||
|
|
||||||
WlrLayershell.namespace: "noctalia-dock"
|
WlrLayershell.namespace: "noctalia-dock"
|
||||||
|
WlrLayershell.exclusionMode: Settings.data.dock.exclusive ? ExclusionMode.Auto : ExclusionMode.Ignore
|
||||||
|
|
||||||
readonly property bool autoHide: Settings.data.dock.autoHide
|
readonly property bool autoHide: Settings.data.dock.autoHide
|
||||||
readonly property int hideDelay: 500
|
readonly property int hideDelay: 500
|
||||||
|
|||||||
@@ -154,6 +154,13 @@ ColumnLayout {
|
|||||||
onToggled: checked => Settings.data.dock.autoHide = checked
|
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 {
|
ColumnLayout {
|
||||||
spacing: Style.marginXXS * scaling
|
spacing: Style.marginXXS * scaling
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|||||||
Reference in New Issue
Block a user