search: add /wipeclipboard action

This commit is contained in:
end-4
2025-09-30 20:47:44 +02:00
parent 82fa754497
commit 599055b49f
2 changed files with 18 additions and 0 deletions
@@ -95,6 +95,18 @@ Singleton {
deleteProc.deleteEntry(entry);
}
Process {
id: wipeProc
command: [root.cliphistBinary, "wipe"]
onExited: (exitCode, exitStatus) => {
root.refresh();
}
}
function wipe() {
wipeProc.running = true;
}
Connections {
target: Quickshell
function onClipboardTextChanged() {