blob: 46dae742342331ffc3a4348f85f116faa31e6195 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh -eu
plumber --option list \
| dmenu -i -b \
| while read -r option
do
text=$(plumber --option "$option" --text "$(xsel -o)")
{ notify-send "$text" && printf "%s" "$text" | xsel -ib; } \
|| notify-send "Plumber: Clipboard selection is empty"
done
|