From 7844cc297582b7c657c6e07bfea33a87a43f7a14 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Thu, 7 Aug 2025 14:58:36 -0400 Subject: [PATCH] Active window tweaks --- Bar/Modules/ActiveWindow.qml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Bar/Modules/ActiveWindow.qml b/Bar/Modules/ActiveWindow.qml index fa7b210..67c2f8a 100644 --- a/Bar/Modules/ActiveWindow.qml +++ b/Bar/Modules/ActiveWindow.qml @@ -7,6 +7,10 @@ import qs.Settings PanelWindow { id: activeWindowPanel + + // Lower case "screen" from modelData + property int barHeight: 36 * Theme.scale(screen) + screen: (typeof modelData !== 'undefined' ? modelData : null) WlrLayershell.exclusionMode: ExclusionMode.Ignore anchors.top: true @@ -17,7 +21,6 @@ PanelWindow { visible: Settings.settings.showActiveWindow && !activeWindowWrapper.finallyHidden implicitHeight: activeWindowTitleContainer.height implicitWidth: 0 - property int barHeight: 36 * Theme.scale(Screen) color: "transparent" function getIcon() { @@ -44,7 +47,7 @@ PanelWindow { Timer { id: visibilityTimer - interval: 1200 + interval: 1500 running: false onTriggered: { activeWindowWrapper.shouldShow = false; @@ -111,11 +114,11 @@ PanelWindow { anchors.horizontalCenter: parent.horizontalCenter Rectangle { - id: innerRect + id: innerRect bottomLeftRadius: Math.max(0, width / 2) bottomRightRadius: Math.max(0, width / 2) - color: Theme.backgroundSecondary + color: Theme.backgroundPrimary anchors { fill: parent leftMargin: 0