dotfiles/files/.config/i3/bin/yadus-i3-clip
Théophile Bastian 191fa21369 yadus: use --data-urlencode
Fix ampersand and other special characters' problems
2017-06-15 12:11:23 +02:00

9 lines
177 B
Bash
Executable file

#!/bin/bash
clip_content="$(/usr/bin/xclip -selection clipboard -out)"
if [ -z "$clip_content" ]; then
exit 1
fi
"$(dirname $(readlink -f "$0"))/yadus-i3" "$clip_content"