blob: dfc4395a16fc7a91ee255c29753d0d500a9c9656 (
plain)
1
2
3
4
5
|
#!/usr/bin/env bash
selected="$(python3 ~/bin/snippet.py | fzf -e -i --bind 'tab:up')"
#strip tags and any trailing space before sending to wl-copy
#echo -e "$selected"| sed -e 's/tags\:\.\*\$//;$d' | wl-copy
echo -e "$selected"| sed -e 's/tags\:\.\*\$//;$d' | xsel -ib
|