From 76062231fd11fc1a43c94774e98b610e3a28d47f Mon Sep 17 00:00:00 2001 From: bbedward Date: Sat, 29 Nov 2025 23:06:49 -0500 Subject: [PATCH] dankbar: another hack to try and fix opacity --- quickshell/Modules/DankBar/DankBarWindow.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickshell/Modules/DankBar/DankBarWindow.qml b/quickshell/Modules/DankBar/DankBarWindow.qml index c095dbcf..2cf5044d 100644 --- a/quickshell/Modules/DankBar/DankBarWindow.qml +++ b/quickshell/Modules/DankBar/DankBarWindow.qml @@ -140,7 +140,9 @@ PanelWindow { property real wingtipsRadius: barConfig?.gothCornerRadiusOverride ? (barConfig?.gothCornerRadiusValue ?? 12) : Theme.cornerRadius readonly property real _wingR: Math.max(0, wingtipsRadius) readonly property color _surfaceContainer: Theme.surfaceContainer - readonly property real _backgroundAlpha: barConfig?.transparency ?? 1.0 + readonly property string _barId: barConfig?.id ?? "default" + readonly property var _liveBarConfig: SettingsData.barConfigs.find(c => c.id === _barId) || barConfig + readonly property real _backgroundAlpha: _liveBarConfig?.transparency ?? 1.0 readonly property color _bgColor: Theme.withAlpha(_surfaceContainer, _backgroundAlpha) readonly property real _dpr: CompositorService.getScreenScale(barWindow.screen)