{"action":"closed","issue":{"url":"https://api.github.com/repos/hluk/CopyQ/issues/394","labels_url":"https://api.github.com/repos/hluk/CopyQ/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/hluk/CopyQ/issues/394/comments","events_url":"https://api.github.com/repos/hluk/CopyQ/issues/394/events","html_url":"https://github.com/hluk/CopyQ/issues/394","id":110002465,"number":394,"title":"Can't create global command to toggle clipboard storing","user":{"login":"SamHasler","id":54277,"avatar_url":"https://avatars.githubusercontent.com/u/54277?v=3","gravatar_id":"","url":"https://api.github.com/users/SamHasler","html_url":"https://github.com/SamHasler","followers_url":"https://api.github.com/users/SamHasler/followers","following_url":"https://api.github.com/users/SamHasler/following{/other_user}","gists_url":"https://api.github.com/users/SamHasler/gists{/gist_id}","starred_url":"https://api.github.com/users/SamHasler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamHasler/subscriptions","organizations_url":"https://api.github.com/users/SamHasler/orgs","repos_url":"https://api.github.com/users/SamHasler/repos","events_url":"https://api.github.com/users/SamHasler/events{/privacy}","received_events_url":"https://api.github.com/users/SamHasler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T12:59:07Z","updated_at":"2015-10-08T10:35:41Z","closed_at":"2015-10-08T10:35:41Z","body":"I'd like to reimplement Enabling/Disabling clipboard storage (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>X</kbd>) as a global command:\r\n\r\n```\r\ncopyq: \r\nif (/* What goes here? */) {\r\n  enable();\r\n} else {\r\n  disable();\r\n}\r\n```"}}