From a8533235c168984fc7a71a3adb4c7d9c2a7227c1 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 29 May 2025 11:38:12 +0200 Subject: [PATCH] clipboard search: do not search by entry id --- .config/quickshell/services/Cliphist.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/quickshell/services/Cliphist.qml b/.config/quickshell/services/Cliphist.qml index a3292d09a..0178367f9 100644 --- a/.config/quickshell/services/Cliphist.qml +++ b/.config/quickshell/services/Cliphist.qml @@ -16,7 +16,7 @@ Singleton { property real scoreThreshold: 0.2 property list entries: [] readonly property var preparedEntries: entries.map(a => ({ - name: Fuzzy.prepare(`${a}`), + name: Fuzzy.prepare(`${a.replace(/^\s*\S+\s+/, "")}`), entry: a })) function fuzzyQuery(search: string): var {