SpectreOS/scripts/clipboard_wrapper/dmenu_wrapper

5 lines
128 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 | dmenu | cut -d ',' -f1)" | wl-copy