From d1bdebf03f0aaa83509a096e2dabb0cf8c9f8afc Mon Sep 17 00:00:00 2001 From: Chris Down Date: Fri, 7 Aug 2015 19:13:53 +0100 Subject: [PATCH] xsel: Pass `-i` flag to fix mysterious issue with i3-msg Fixes #11. --- clipmenu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipmenu b/clipmenu index 71cdc8d..5f8a9e8 100755 --- 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