SpectreOS/scripts/clipboard_wrapper/fzf_wrapper

5 lines
136 B
Text
Raw Permalink Normal View History

2022-10-04 19:01:31 +02:00
#!/usr/bin/env sh
set -euo pipefail
wl-clipboard-history -p "$(wl-clipboard-history -l 20 | fzf --with-nth 2.. -d , | cut -d ',' -f1)"