From d7827058787051b5352f1465096d06d0b79ab690 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 18 May 2026 14:34:11 +0200 Subject: [PATCH] Match offset and color to existing notifications --- default/quickshell/omarchy-shell/Ui/PopupCard.qml | 3 ++- .../omarchy-shell/plugins/bar/widgets/weatherFlyout.qml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/default/quickshell/omarchy-shell/Ui/PopupCard.qml b/default/quickshell/omarchy-shell/Ui/PopupCard.qml index e3fae94e..8c8de624 100644 --- a/default/quickshell/omarchy-shell/Ui/PopupCard.qml +++ b/default/quickshell/omarchy-shell/Ui/PopupCard.qml @@ -13,6 +13,7 @@ PopupWindow { property int padding: 14 property int contentWidth: 280 property int contentHeight: 200 + property color borderColor: Color.popups.border property bool open: false property bool centerOnBar: false // "click" — uses HyprlandFocusGrab so clicking outside dismisses the popup. @@ -117,7 +118,7 @@ PopupWindow { id: card anchors.fill: parent color: Color.popups.background - border.color: Color.popups.border + border.color: root.borderColor border.width: 2 radius: Style.cornerRadius opacity: root.open ? 1.0 : 0 diff --git a/default/quickshell/omarchy-shell/plugins/bar/widgets/weatherFlyout.qml b/default/quickshell/omarchy-shell/plugins/bar/widgets/weatherFlyout.qml index 1fd0d3ea..cb1b3c11 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/widgets/weatherFlyout.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/widgets/weatherFlyout.qml @@ -1,6 +1,7 @@ import QtQuick import Quickshell import Quickshell.Io +import qs.Commons import qs.Ui Item { @@ -323,6 +324,8 @@ Item { triggerMode: "click" contentWidth: 480 contentHeight: card.implicitHeight + 28 + margin: 24 + borderColor: Color.notifications.border Column { id: card