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