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;