diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index cddaf8f4b..b75bb7a0c 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -34,6 +34,7 @@ Singleton { property real scale: 0.18 // Relative to screen size property real numOfRows: 2 property real numOfCols: 5 + property bool showXwaylandIndicator: true } property QtObject resources: QtObject { diff --git a/.config/quickshell/modules/overview/OverviewWindow.qml b/.config/quickshell/modules/overview/OverviewWindow.qml index da65237e6..9f255d7a0 100644 --- a/.config/quickshell/modules/overview/OverviewWindow.qml +++ b/.config/quickshell/modules/overview/OverviewWindow.qml @@ -25,6 +25,7 @@ Rectangle { // Window property bool pressed: false property var iconToWindowRatio: 0.35 + property var xwaylandIndicatorToIconRatio: 0.35 property var iconToWindowRatioCompact: 0.6 property var iconPath: Quickshell.iconPath(Icons.noKnowledgeIconGuess(windowData?.class)) property bool compactMode: Appearance.font.pixelSize.smaller * 4 > targetWindowHeight || Appearance.font.pixelSize.smaller * 4 > targetWindowWidth @@ -108,11 +109,11 @@ Rectangle { // Window IconImage { id: xwaylandIndicator - visible: windowData?.xwayland + visible: ConfigOptions.overview.showXwaylandIndicator && windowData?.xwayland anchors.right: parent.right anchors.bottom: parent.bottom source: Quickshell.iconPath("xorg") - implicitSize: windowIcon.implicitSize * 0.35 + implicitSize: windowIcon.implicitSize * xwaylandIndicatorToIconRatio } }