10 lines
215 B
Text
Executable file
10 lines
215 B
Text
Executable file
# Must have xclip installed to even show menu.
|
|
xclip -h >/dev/null || exit
|
|
|
|
chosen=$(cat ~/.config/i3/pasta | rofi -dmenu -i)
|
|
|
|
[ "$chosen" != "" ] || exit
|
|
|
|
echo "$chosen" | tr -d '\n' | xclip -selection clipboard
|
|
|
|
|