{"action":"created","issue":{"url":"https://api.github.com/repos/cdown/clipmenu/issues/11","labels_url":"https://api.github.com/repos/cdown/clipmenu/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cdown/clipmenu/issues/11/comments","events_url":"https://api.github.com/repos/cdown/clipmenu/issues/11/events","html_url":"https://github.com/cdown/clipmenu/pull/11","id":99305814,"number":11,"title":"fix(clipmenu): update xsel usage","user":{"login":"kingcody","id":2544108,"avatar_url":"https://avatars.githubusercontent.com/u/2544108?v=3","gravatar_id":"","url":"https://api.github.com/users/kingcody","html_url":"https://github.com/kingcody","followers_url":"https://api.github.com/users/kingcody/followers","following_url":"https://api.github.com/users/kingcody/following{/other_user}","gists_url":"https://api.github.com/users/kingcody/gists{/gist_id}","starred_url":"https://api.github.com/users/kingcody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingcody/subscriptions","organizations_url":"https://api.github.com/users/kingcody/orgs","repos_url":"https://api.github.com/users/kingcody/repos","events_url":"https://api.github.com/users/kingcody/events{/privacy}","received_events_url":"https://api.github.com/users/kingcody/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-05T21:47:17Z","updated_at":"2015-08-06T08:27:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cdown/clipmenu/pulls/11","html_url":"https://github.com/cdown/clipmenu/pull/11","diff_url":"https://github.com/cdown/clipmenu/pull/11.diff","patch_url":"https://github.com/cdown/clipmenu/pull/11.patch"},"body":"Changes:\r\n* `xsel` now requires an input flag `(-a|-f|-i)` see [`XSEL(1x)`](http://manned.org/xsel/843cf846)"},"comment":{"url":"https://api.github.com/repos/cdown/clipmenu/issues/comments/128290155","html_url":"https://github.com/cdown/clipmenu/pull/11#issuecomment-128290155","issue_url":"https://api.github.com/repos/cdown/clipmenu/issues/11","id":128290155,"user":{"login":"kingcody","id":2544108,"avatar_url":"https://avatars.githubusercontent.com/u/2544108?v=3","gravatar_id":"","url":"https://api.github.com/users/kingcody","html_url":"https://github.com/kingcody","followers_url":"https://api.github.com/users/kingcody/followers","following_url":"https://api.github.com/users/kingcody/following{/other_user}","gists_url":"https://api.github.com/users/kingcody/gists{/gist_id}","starred_url":"https://api.github.com/users/kingcody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingcody/subscriptions","organizations_url":"https://api.github.com/users/kingcody/orgs","repos_url":"https://api.github.com/users/kingcody/repos","events_url":"https://api.github.com/users/kingcody/events{/privacy}","received_events_url":"https://api.github.com/users/kingcody/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T08:27:44Z","updated_at":"2015-08-06T08:27:44Z","body":"Well after debugging more since you mentioned not being able to reproduce; it would seem that is only reproducible when wrapped in an `i3-msg exec` (or bound to key via i3 config) like:\r\n```bash\r\n➤ xsel -i --clipboard <<< test1\r\n➤ xsel -o --clipboard\r\ntest1\r\n➤ i3-msg \"exec xsel --clipboard <<< test2\"\r\n[{\"success\":true}]\r\n➤ xsel -o --clipboard\r\ntest1\r\n➤ i3-msg \"exec xsel -i --clipboard <<< test2\"\r\n[{\"success\":true}]\r\n➤ xsel -o --clipboard\r\ntest2\r\n```\r\n\r\nI haven't tried to debug i3 any deeper. Also, sorry for the erroneous statement that `xsel` requires an input flag; I should have checked via shell first."}}