summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-14 15:48:14 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-14 15:48:14 +0800
commit8b45c0c2506e54fccbdb83b423be627a7a43f56e (patch)
treeef72634174f20ceae605d264d2b0959b0af124cd
parent06484d1d37b17a0a54be12e160072c23beceb3a5 (diff)
clip: fix wl-paste
make it run forever
-rw-r--r--services/Clip.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/Clip.qml b/services/Clip.qml
index c47507e..1bf78d0 100644
--- a/services/Clip.qml
+++ b/services/Clip.qml
@@ -117,8 +117,12 @@ Searchable {
id: watchProc
running: true
command: ["wl-paste", "-w", "echo"]
+ onRunningChanged: if (!running)
+ running = true
+
stdout: SplitParser {
onRead: line => {
+ console.log('h');
_update();
}
}