From 0ff0efe39c0b75df89d1b4fe4d78eb2df15b04b9 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 29 May 2025 11:19:45 +0200 Subject: [PATCH] cliphist: refresh on clipboard change --- .config/quickshell/services/Cliphist.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/quickshell/services/Cliphist.qml b/.config/quickshell/services/Cliphist.qml index 51514e864..a3292d09a 100644 --- a/.config/quickshell/services/Cliphist.qml +++ b/.config/quickshell/services/Cliphist.qml @@ -43,6 +43,13 @@ Singleton { readProc.running = true } + Connections { + target: Quickshell + function onClipboardTextChanged() { + root.refresh() // TODO: Account for race condition with cliphist + } + } + Process { id: readProc property list buffer: []