diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-17 18:13:38 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-17 18:13:38 +1100 |
| commit | 65a3711e247b4c376634faad4e1b14295b9ac57e (patch) | |
| tree | 6a121a30936d6d5eafe59a706a5fb2cb161e21e6 /clipboard-delete.fish | |
| parent | util: return 1 on error (diff) | |
| download | caelestia-cli-65a3711e247b4c376634faad4e1b14295b9ac57e.tar.gz caelestia-cli-65a3711e247b4c376634faad4e1b14295b9ac57e.tar.bz2 caelestia-cli-65a3711e247b4c376634faad4e1b14295b9ac57e.zip | |
clipboard and emoji scripts
Diffstat (limited to 'clipboard-delete.fish')
| -rwxr-xr-x | clipboard-delete.fish | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clipboard-delete.fish b/clipboard-delete.fish new file mode 100755 index 0000000..1af8519 --- /dev/null +++ b/clipboard-delete.fish @@ -0,0 +1,4 @@ +#!/bin/fish + +set chosen_item (cliphist list | fuzzel --dmenu --prompt='Delete from clipboard: ') +test -n "$chosen_item" && echo "$chosen_item" | cliphist delete |