diff --git a/.config/quickshell/services/Cliphist.qml b/.config/quickshell/services/Cliphist.qml index 0178367f9..d0193f144 100644 --- a/.config/quickshell/services/Cliphist.qml +++ b/.config/quickshell/services/Cliphist.qml @@ -46,7 +46,16 @@ Singleton { Connections { target: Quickshell function onClipboardTextChanged() { - root.refresh() // TODO: Account for race condition with cliphist + delayedUpdateTimer.restart() + } + } + + Timer { + id: delayedUpdateTimer + interval: ConfigOptions.hacks.arbitraryRaceConditionDelay + repeat: false + onTriggered: { + root.refresh() } }