From e5a6a00282356739242a2b707011588c55d5f633 Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 26 Nov 2025 00:35:21 -0500 Subject: [PATCH] improve border --- quickshell/Modules/DankBar/BarCanvas.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickshell/Modules/DankBar/BarCanvas.qml b/quickshell/Modules/DankBar/BarCanvas.qml index 251d1d1e..a46e0861 100644 --- a/quickshell/Modules/DankBar/BarCanvas.qml +++ b/quickshell/Modules/DankBar/BarCanvas.qml @@ -115,7 +115,7 @@ Item { preferredRendererType: Shape.CurveRenderer readonly property real borderThickness: Math.max(1, barConfig?.borderThickness ?? 1) - readonly property real inset: 1 + readonly property real inset: showFullBorder ? Math.ceil(borderThickness / 2) : borderThickness / 2 readonly property string borderColorKey: barConfig?.borderColor || "surfaceText" readonly property color baseColor: (borderColorKey === "surfaceText") ? Theme.surfaceText : (borderColorKey === "primary") ? Theme.primary : Theme.secondary readonly property color borderColor: Theme.withAlpha(baseColor, barConfig?.borderOpacity ?? 1.0)