SpectreOS/scripts/clipboard_wrapper/dmenu_wrapper
2022-10-04 19:01:31 +02:00

4 lines
128 B
Bash
Executable file

#!/usr/bin/env sh
set -euo pipefail
wl-clipboard-history -p "$(wl-clipboard-history -l 20 | dmenu | cut -d ',' -f1)" | wl-copy