SpectreOS/scripts/clipboard_wrapper/bemenu_wrapper

5 lines
195 B
Text
Raw 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 | bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --fn "pango:DejaVu Sans Mono 12" | cut -d ',' -f1)" | wl-copy