{"action":"created","issue":{"url":"https://api.github.com/repos/daniellandau/switcher/issues/11","labels_url":"https://api.github.com/repos/daniellandau/switcher/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/daniellandau/switcher/issues/11/comments","events_url":"https://api.github.com/repos/daniellandau/switcher/issues/11/events","html_url":"https://github.com/daniellandau/switcher/pull/11","id":119991867,"number":11,"title":"bug #10: associate apps with F keys for even faster switching","user":{"login":"emmanueltouzery","id":339433,"avatar_url":"https://avatars.githubusercontent.com/u/339433?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanueltouzery","html_url":"https://github.com/emmanueltouzery","followers_url":"https://api.github.com/users/emmanueltouzery/followers","following_url":"https://api.github.com/users/emmanueltouzery/following{/other_user}","gists_url":"https://api.github.com/users/emmanueltouzery/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanueltouzery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanueltouzery/subscriptions","organizations_url":"https://api.github.com/users/emmanueltouzery/orgs","repos_url":"https://api.github.com/users/emmanueltouzery/repos","events_url":"https://api.github.com/users/emmanueltouzery/events{/privacy}","received_events_url":"https://api.github.com/users/emmanueltouzery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-12-02T17:16:51Z","updated_at":"2015-12-05T19:44:56Z","closed_at":"2015-12-05T19:00:50Z","pull_request":{"url":"https://api.github.com/repos/daniellandau/switcher/pulls/11","html_url":"https://github.com/daniellandau/switcher/pull/11","diff_url":"https://github.com/daniellandau/switcher/pull/11.diff","patch_url":"https://github.com/daniellandau/switcher/pull/11.patch"},"body":"ok I worked on a patch for the bug #10 which I opened.\r\nthis is very lightly tested but it seems to work fine. I keep the hash between key and app in memory for the whole runtime because otherwise I would get different orders every time. That's to help the user by making sure that eg F4 is that specific firefox window and it's going to stay like that until logout.\r\n\r\nhowever that conflicts a bit with the order displayed in the GUI. after a while you have a gui displayin the keyboard shortcuts as for instance F4, F6, F1, and so on... Messy.\r\n\r\nMaybe we could add an option \"keep the order consistent\", to go with this way of using the app?"},"comment":{"url":"https://api.github.com/repos/daniellandau/switcher/issues/comments/162240536","html_url":"https://github.com/daniellandau/switcher/pull/11#issuecomment-162240536","issue_url":"https://api.github.com/repos/daniellandau/switcher/issues/11","id":162240536,"user":{"login":"daniellandau","id":1044056,"avatar_url":"https://avatars.githubusercontent.com/u/1044056?v=3","gravatar_id":"","url":"https://api.github.com/users/daniellandau","html_url":"https://github.com/daniellandau","followers_url":"https://api.github.com/users/daniellandau/followers","following_url":"https://api.github.com/users/daniellandau/following{/other_user}","gists_url":"https://api.github.com/users/daniellandau/gists{/gist_id}","starred_url":"https://api.github.com/users/daniellandau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniellandau/subscriptions","organizations_url":"https://api.github.com/users/daniellandau/orgs","repos_url":"https://api.github.com/users/daniellandau/repos","events_url":"https://api.github.com/users/daniellandau/events{/privacy}","received_events_url":"https://api.github.com/users/daniellandau/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T19:44:56Z","updated_at":"2015-12-05T19:44:56Z","body":"Ok, great! Thanks again!"}}