quickshell: fix bottom cluster pile-up, vertical workspace slide
trayArea kept anchors.verticalCenter from when it was a Row inside a
Row. A Column refuses to position ANY child when one sets a vertical
anchor ("Column will not function"), so volume/network/night-mode/
tray/power all fell to y=0 and stacked unclickably in the corner.
Workspace switch animation gets style = "slidevert" so it slides up/
down to match the vertical workspace column.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
4717d1e08f
commit
2cf3004fc4
2 changed files with 6 additions and 2 deletions
|
|
@ -244,7 +244,9 @@ in
|
||||||
hl.animation({ leaf = "layers", enabled = true, speed = 1, bezier = "snap" })
|
hl.animation({ leaf = "layers", enabled = true, speed = 1, bezier = "snap" })
|
||||||
hl.animation({ leaf = "border", enabled = true, speed = 2, bezier = "default" })
|
hl.animation({ leaf = "border", enabled = true, speed = 2, bezier = "default" })
|
||||||
hl.animation({ leaf = "fade", enabled = true, speed = 1, bezier = "default" })
|
hl.animation({ leaf = "fade", enabled = true, speed = 1, bezier = "default" })
|
||||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 1, bezier = "snap" })
|
-- slidevert: workspaces slide up/down to match the vertical
|
||||||
|
-- workspace column in the bar (default "slide" is horizontal).
|
||||||
|
hl.animation({ leaf = "workspaces", enabled = true, speed = 1, bezier = "snap", style = "slidevert" })
|
||||||
|
|
||||||
-- Window rules
|
-- Window rules
|
||||||
-- Don't lock/idle while any window is fullscreen (video, games).
|
-- Don't lock/idle while any window is fullscreen (video, games).
|
||||||
|
|
|
||||||
|
|
@ -1923,7 +1923,9 @@ in
|
||||||
id: trayArea
|
id: trayArea
|
||||||
spacing: 8
|
spacing: 8
|
||||||
width: Theme.barWidth
|
width: Theme.barWidth
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
// NO vertical anchor here: a Column refuses to position
|
||||||
|
// ANY child if one of them sets top/bottom/verticalCenter
|
||||||
|
// /fill/centerIn, and silently piles them all at y=0.
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: SystemTray.items
|
model: SystemTray.items
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue