Watch
1
0
Fork
You've already forked souveraine
0

dock: visible on empty desktop / hidden for focused apps; lift dock above pill strip

This commit is contained in:
Fimeg 2026-07-12 11:09:28 -04:00
commit 0e1f233857

View file

@ -156,10 +156,6 @@ Scope { // Scope
bottom: true
left: true
right: true
// Reserve the pill's strip at the very bottom (pill is 26px +
// a hair of breathing room). The dock floats just above it so
// they never overlap and the pill stays touchable at all times.
margins.bottom: 32
}
exclusiveZone: root.dockState === Dock.DockState.Pinned ? implicitHeight - (Appearance.sizes.hyprlandGapsOut) - (Appearance.sizes.elevationMargin - Appearance.sizes.hyprlandGapsOut) : 0
@ -202,12 +198,16 @@ Scope { // Scope
id: dockBackground
anchors {
top: parent.top
// Reserve the pill strip: bottom-anchor short of
// the window's bottom by thePillZone so the dock
// floats above the pill and never covers it.
bottom: parent.bottom
bottomMargin: 32
horizontalCenter: parent.horizontalCenter
}
implicitWidth: dockRow.implicitWidth + 5 * 2
height: parent.height - Appearance.sizes.elevationMargin - Appearance.sizes.hyprlandGapsOut
height: parent.height - Appearance.sizes.elevationMargin - Appearance.sizes.hyprlandGapsOut - 32
StyledRectangularShadow {
target: dockVisualBackground