{"action":"created","issue":{"url":"https://api.github.com/repos/matryer/bitbar/issues/331","repository_url":"https://api.github.com/repos/matryer/bitbar","labels_url":"https://api.github.com/repos/matryer/bitbar/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/matryer/bitbar/issues/331/comments","events_url":"https://api.github.com/repos/matryer/bitbar/issues/331/events","html_url":"https://github.com/matryer/bitbar/issues/331","id":155838366,"number":331,"title":"Refresh from URL steals focus, displays \"Updating...\"","user":{"login":"dagware","id":19479226,"avatar_url":"https://avatars.githubusercontent.com/u/19479226?v=3","gravatar_id":"","url":"https://api.github.com/users/dagware","html_url":"https://github.com/dagware","followers_url":"https://api.github.com/users/dagware/followers","following_url":"https://api.github.com/users/dagware/following{/other_user}","gists_url":"https://api.github.com/users/dagware/gists{/gist_id}","starred_url":"https://api.github.com/users/dagware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagware/subscriptions","organizations_url":"https://api.github.com/users/dagware/orgs","repos_url":"https://api.github.com/users/dagware/repos","events_url":"https://api.github.com/users/dagware/events{/privacy}","received_events_url":"https://api.github.com/users/dagware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matryer/bitbar/labels/%E2%99%A1%20todo","name":"♡ todo","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-05-19T21:22:52Z","updated_at":"2016-06-10T17:40:38Z","closed_at":null,"body":"When I tell BitBar to refresh using the URL syntax \"bitbar://refreshPlugin?name=blablabla\", two things happen which I find undesirable.\r\n\r\n1) BitBar steals the application focus, or at least un-focuses the app I'm in. An example of this is that I'm using Keyboard Maestro which will periodically ask BitBar to refresh a plugin. This happens in the background, as a result of some action like a timer. When it happens, The app I'm in loses focus.\r\n\r\n2) When I use the URL plugin refresh, BitBar displays \"Updating\" in the Mac Menubar. Is this really necessary, when I'm only refreshing one plugin? It's annoying and distracting. ;p\r\n\r\nOr is there another syntax which will not cause this to happen? I'm really just saying \"I know you're supposed to run on the hour, but please run right now\". So perhaps \"refresh\" is the wrong thing to use? Thanks.\r\n\r\nPS: Love BitBar!!"},"comment":{"url":"https://api.github.com/repos/matryer/bitbar/issues/comments/225247655","html_url":"https://github.com/matryer/bitbar/issues/331#issuecomment-225247655","issue_url":"https://api.github.com/repos/matryer/bitbar/issues/331","id":225247655,"user":{"login":"iosdeveloper","id":655921,"avatar_url":"https://avatars.githubusercontent.com/u/655921?v=3","gravatar_id":"","url":"https://api.github.com/users/iosdeveloper","html_url":"https://github.com/iosdeveloper","followers_url":"https://api.github.com/users/iosdeveloper/followers","following_url":"https://api.github.com/users/iosdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/iosdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/iosdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iosdeveloper/subscriptions","organizations_url":"https://api.github.com/users/iosdeveloper/orgs","repos_url":"https://api.github.com/users/iosdeveloper/repos","events_url":"https://api.github.com/users/iosdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/iosdeveloper/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T17:40:38Z","updated_at":"2016-06-10T17:40:38Z","body":"@mm2270 Correct."}}
{"actor":{"display_login":"iosdeveloper"}}