From 36b02fb888f31e66b1ac3e6ddab4a65cf46fbe70 Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 26 May 2026 15:05:44 +0100 Subject: [PATCH] quickshell: sync concave corners with calendar slide animation Corners now track calContent.height (clamped to 8px) instead of fading opacity, so they reveal with the same slide-down morph. Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 06486ac..e72bb02 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -861,10 +861,9 @@ in anchors.right: calContent.left anchors.top: parent.top width: 8 - height: 8 - visible: calPopup.open - opacity: calPopup.open ? 1.0 : 0.0 - Behavior on opacity { NumberAnimation { duration: 150 } } + height: Math.min(8, calContent.height) + visible: calContent.height > 0 + clip: true onPaint: { var ctx = getContext("2d"); var r = width; @@ -888,10 +887,9 @@ in anchors.left: calContent.right anchors.top: parent.top width: 8 - height: 8 - visible: calPopup.open - opacity: calPopup.open ? 1.0 : 0.0 - Behavior on opacity { NumberAnimation { duration: 150 } } + height: Math.min(8, calContent.height) + visible: calContent.height > 0 + clip: true onPaint: { var ctx = getContext("2d"); var r = width;