From 6e3b3ce8886f35b9ecfa1c8ac0b781cc7f9b74e8 Mon Sep 17 00:00:00 2001 From: purian23 Date: Tue, 3 Feb 2026 21:19:57 -0500 Subject: [PATCH] fix: Notepad Transparency override --- quickshell/Widgets/DankSlideout.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quickshell/Widgets/DankSlideout.qml b/quickshell/Widgets/DankSlideout.qml index 35aa3535..d6ac0348 100644 --- a/quickshell/Widgets/DankSlideout.qml +++ b/quickshell/Widgets/DankSlideout.qml @@ -115,7 +115,9 @@ PanelWindow { layer.enabled: Quickshell.env("DMS_DISABLE_LAYER") !== "true" && Quickshell.env("DMS_DISABLE_LAYER") !== "1" layer.smooth: false layer.textureSize: Qt.size(width * root.dpr, height * root.dpr) - opacity: customTransparency >= 0 ? customTransparency : SettingsData.popupTransparency + opacity: 1 + + readonly property real effectiveTransparency: customTransparency >= 0 ? customTransparency : SettingsData.popupTransparency anchors.top: parent.top anchors.bottom: parent.bottom @@ -124,7 +126,7 @@ PanelWindow { Rectangle { anchors.fill: parent - color: Theme.surfaceContainer + color: Qt.rgba(Theme.surfaceContainer.r, Theme.surfaceContainer.g, Theme.surfaceContainer.b, contentRect.effectiveTransparency) radius: Theme.cornerRadius }