From 7027bd1646ddb252e2c830f023be12429a136080 Mon Sep 17 00:00:00 2001 From: bbedward Date: Sun, 11 Jan 2026 14:03:23 -0500 Subject: [PATCH] systemtray: use Theme radius for menu options fixes #1331 --- quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml b/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml index 145ab9b5..b7f89dce 100644 --- a/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml +++ b/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml @@ -1208,7 +1208,7 @@ Item { visible: entryStack.count === 0 width: parent.width height: 28 - radius: 0 + radius: Theme.cornerRadius color: visibilityToggleArea.containsMouse ? Theme.widgetBaseHoverColor : Theme.withAlpha(Theme.surfaceContainer, 0) StyledText { @@ -1261,7 +1261,7 @@ Item { visible: entryStack.count > 0 width: parent.width height: 28 - radius: 0 + radius: Theme.cornerRadius color: backArea.containsMouse ? Theme.widgetBaseHoverColor : Theme.withAlpha(Theme.surfaceContainer, 0) Row { @@ -1309,11 +1309,10 @@ Item { width: menuColumn.width height: menuEntry?.isSeparator ? 1 : 28 - radius: 0 + radius: menuEntry?.isSeparator ? 0 : Theme.cornerRadius color: { - if (menuEntry?.isSeparator) { + if (menuEntry?.isSeparator) return Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.2); - } return itemArea.containsMouse ? Theme.widgetBaseHoverColor : Theme.withAlpha(Theme.surfaceContainer, 0); }