From dca3bfd9511465baa2292c3b8a8de27d3b4e8903 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 14 May 2026 11:17:33 +0200 Subject: [PATCH] Cleaner selection without exposed filtering --- default/quickshell/background-switcher.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/default/quickshell/background-switcher.qml b/default/quickshell/background-switcher.qml index ca05a2eb..6968f446 100644 --- a/default/quickshell/background-switcher.qml +++ b/default/quickshell/background-switcher.qml @@ -33,7 +33,7 @@ ShellRoot { property int sliceHeight: 432 property int sliceSpacing: -30 property int skewOffset: 28 - property int bottomChromeHeight: showLabels ? (filterable ? 104 : 74) : 30 + property int bottomChromeHeight: showLabels ? (filterable ? 104 : 74) : (filterable ? 60 : 30) function fileUrl(path) { return "file://" + path.split("/").map(encodeURIComponent).join("/") @@ -568,14 +568,14 @@ ShellRoot { } Text { - visible: root.filterable + visible: root.filterable && root.filterText anchors.top: selectedLabel.bottom anchors.topMargin: 8 anchors.horizontalCenter: carousel.horizontalCenter width: root.expandedWidth - text: root.filterText ? ("Filter: " + root.filterText + " (" + root.matchingCount() + ")") : "Type to filter" + text: root.filterText color: root.foreground - opacity: root.filterText ? 0.85 : 0.55 + opacity: 0.85 style: Text.Outline styleColor: root.withAlpha(root.background, 0.7) font.pixelSize: 14