commit d1bdebf03f0aaa83509a096e2dabb0cf8c9f8afc
parent 10f0ffe6cb8901406366738fdc572c7fa89509db
Author: Chris Down <chris@chrisdown.name>
Date: Fri, 7 Aug 2015 19:13:53 +0100
xsel: Pass `-i` flag to fix mysterious issue with i3-msg
Fixes #11.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clipmenu b/clipmenu
@@ -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