{"action":"created","issue":{"url":"https://api.github.com/repos/tekezo/Seil/issues/61","repository_url":"https://api.github.com/repos/tekezo/Seil","labels_url":"https://api.github.com/repos/tekezo/Seil/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/tekezo/Seil/issues/61/comments","events_url":"https://api.github.com/repos/tekezo/Seil/issues/61/events","html_url":"https://github.com/tekezo/Seil/issues/61","id":132167505,"number":61,"title":"Feature request: Trigger Seil options when plug in/out keyboard","user":{"login":"aemonge","id":1322348,"avatar_url":"https://avatars.githubusercontent.com/u/1322348?v=3","gravatar_id":"","url":"https://api.github.com/users/aemonge","html_url":"https://github.com/aemonge","followers_url":"https://api.github.com/users/aemonge/followers","following_url":"https://api.github.com/users/aemonge/following{/other_user}","gists_url":"https://api.github.com/users/aemonge/gists{/gist_id}","starred_url":"https://api.github.com/users/aemonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aemonge/subscriptions","organizations_url":"https://api.github.com/users/aemonge/orgs","repos_url":"https://api.github.com/users/aemonge/repos","events_url":"https://api.github.com/users/aemonge/events{/privacy}","received_events_url":"https://api.github.com/users/aemonge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T15:08:41Z","updated_at":"2016-02-09T03:39:46Z","closed_at":null,"body":"Hi !!! \r\nI've switched the 'command' and 'option' key so I can 'command-tab' on my none-mac external keyboard normally. But when the external keyboard isn't present, I don't want that mapping to run. So It would be great if I didn't have to toggle those options each time I switch from external keyboard to the none external one.\r\n\r\nI hope this isn't as hard as it sounds, you just have to create a shell input to the Seil commands, and trigger those on a keyboard-connected Event (from an external tool or like)"},"comment":{"url":"https://api.github.com/repos/tekezo/Seil/issues/comments/181692162","html_url":"https://github.com/tekezo/Seil/issues/61#issuecomment-181692162","issue_url":"https://api.github.com/repos/tekezo/Seil/issues/61","id":181692162,"user":{"login":"tekezo","id":659178,"avatar_url":"https://avatars.githubusercontent.com/u/659178?v=3","gravatar_id":"","url":"https://api.github.com/users/tekezo","html_url":"https://github.com/tekezo","followers_url":"https://api.github.com/users/tekezo/followers","following_url":"https://api.github.com/users/tekezo/following{/other_user}","gists_url":"https://api.github.com/users/tekezo/gists{/gist_id}","starred_url":"https://api.github.com/users/tekezo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekezo/subscriptions","organizations_url":"https://api.github.com/users/tekezo/orgs","repos_url":"https://api.github.com/users/tekezo/repos","events_url":"https://api.github.com/users/tekezo/events{/privacy}","received_events_url":"https://api.github.com/users/tekezo/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T03:39:46Z","updated_at":"2016-02-09T03:39:46Z","body":"Please use Hammerspoon for this purpose.\r\nhttp://www.hammerspoon.org/\r\n\r\nPlease execute Seil's command line interface from Hammerspoon.\r\nhttps://pqrs.org/osx/karabiner/seil.html.en#commandlineinterface\r\n"}}