repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

fix(nuguland): top-align vertical workspace tray for consistency

ffd8b3c368a4529de4e487636e16e8e8a8225d10

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

The vertical workspace strip floated centred in its zone, leaving a gap
above the pills. Pin it to the top edge (AlignTop), mirroring the
horizontal strip's left edge, so both orientations start their workspace
pills at the strip's start.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Changed files (1)

quickshell/nuguland/Bar.qml

Modified
252 252 implicitHeight: tray.height
253 253 Layout.preferredWidth: tray.width
254 254 Layout.preferredHeight: tray.height
255 - // left-aligned along the horizontal row; centred in the
256 - // vertical column.
257 - Layout.alignment: root.vertical ? Qt.AlignHCenter : (Qt.AlignLeft | Qt.AlignVCenter)
255 + // pinned to the strip's start edge: left in the horizontal
256 + // row, top in the vertical column (no centred-float gap).
257 + Layout.alignment: root.vertical ? (Qt.AlignHCenter | Qt.AlignTop) : (Qt.AlignLeft | Qt.AlignVCenter)
259 259 Rectangle {
260 260 id: tray