xsel: Pass -i flag to fix mysterious issue with i3-msg

Fixes #11.
This commit is contained in:
Chris Down 2015-08-07 19:13:53 +01:00
parent 10f0ffe6cb
commit d1bdebf03f

View file

@ -31,7 +31,7 @@ chosen_line=$(
for selection in clipboard primary; do
if type -p xsel >/dev/null 2>&1; then
xsel --"$selection" < "${selections[$chosen_line]}"
xsel -i --"$selection" < "${selections[$chosen_line]}"
else
xclip -sel "$selection" < "${selections[$chosen_line]}"
fi