From 72fa76fde600cea4a705e8b1a93b10916325b3ab Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 29 May 2025 11:20:08 +0200 Subject: [PATCH] clipboard history: checkmark for selected entry --- .../quickshell/modules/overview/SearchItem.qml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.config/quickshell/modules/overview/SearchItem.qml b/.config/quickshell/modules/overview/SearchItem.qml index cd415bb3..e0e02ec1 100644 --- a/.config/quickshell/modules/overview/SearchItem.qml +++ b/.config/quickshell/modules/overview/SearchItem.qml @@ -163,6 +163,23 @@ RippleButton { url: modelData } } + Loader { + visible: itemName == Quickshell.clipboardText + active: itemName == Quickshell.clipboardText + sourceComponent: Rectangle { + implicitWidth: activeText.implicitHeight + implicitHeight: activeText.implicitHeight + radius: Appearance.rounding.full + color: Appearance.m3colors.m3primary + MaterialSymbol { + id: activeText + anchors.centerIn: parent + text: "check" + font.pixelSize: Appearance.font.pixelSize.normal + color: Appearance.m3colors.m3onPrimary + } + } + } StyledText { Layout.fillWidth: true id: nameText