From bebd19bbff9ead67f27a223487b97da997aaf6fc Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 26 May 2026 13:47:35 +0100 Subject: [PATCH] quickshell: offset calendar below bar, match opacity Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 43fdb82..86d5376 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -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