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