quickshell: offset calendar below bar, match opacity

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-26 13:47:35 +01:00
parent 2c4a7a155e
commit bebd19bbff

View file

@ -830,9 +830,11 @@ in
// Calendar popup
PopupWindow {
id: calPopup
anchor.item: clockText
anchor.edges: Edges.Bottom
anchor.gravity: Edges.Bottom
anchor.window: bar
anchor.rect.x: bar.width / 2 - (fullWidth + 4) / 2
anchor.rect.y: bar.height
anchor.edges: Edges.Top | Edges.Left
anchor.gravity: Edges.Bottom | Edges.Right
anchor.adjustment: PopupAdjustment.Slide
grabFocus: true
visible: false
@ -857,10 +859,10 @@ in
id: calContent
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 1
anchors.topMargin: 0
width: calPopup.open ? calPopup.fullWidth : calPopup.fullWidth
height: calPopup.open ? calPopup.fullHeight : 0
color: "#${c.base00}"
color: "#D1${c.base00}"
border.width: 0
radius: 8
topLeftRadius: 0