forked from Shinonome/dots-hyprland
search: add /wipeclipboard action
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user