{"action":"created","issue":{"url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins/issues/1","repository_url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins","labels_url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins/issues/1/comments","events_url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins/issues/1/events","html_url":"https://github.com/dfrankland/hyper-custom-plugins/issues/1","id":195750372,"number":1,"title":"Adding vibrancy","user":{"login":"karlpokus","id":2376199,"avatar_url":"https://avatars.githubusercontent.com/u/2376199?v=3","gravatar_id":"","url":"https://api.github.com/users/karlpokus","html_url":"https://github.com/karlpokus","followers_url":"https://api.github.com/users/karlpokus/followers","following_url":"https://api.github.com/users/karlpokus/following{/other_user}","gists_url":"https://api.github.com/users/karlpokus/gists{/gist_id}","starred_url":"https://api.github.com/users/karlpokus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlpokus/subscriptions","organizations_url":"https://api.github.com/users/karlpokus/orgs","repos_url":"https://api.github.com/users/karlpokus/repos","events_url":"https://api.github.com/users/karlpokus/events{/privacy}","received_events_url":"https://api.github.com/users/karlpokus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-15T09:01:26Z","updated_at":"2016-12-18T01:47:55Z","closed_at":null,"body":"Hi!\r\n\r\nThanks for sharing this. I am trying to add [vibrancy](https://github.com/electron/electron/blob/master/docs/api/browser-window.md#winsetvibrancytype-macos) via your plugin-thing and following [this example](https://github.com/matheuss/hyper-simple-vibrancy/blob/master/index.js) I was wondering if `browserWindow` is equal to `win` below.\r\n\r\n```\r\nconfig: {\r\n  customPlugins: {\r\n    callback: ({ hooks }) => {\r\n      hooks.onWindow = win =>\r\n        win.setHasShadow(false); // hack to fix ghost\r\n        win.setVibrancy('dark') // Sadly this does not work.\r\n```"},"comment":{"url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins/issues/comments/267798261","html_url":"https://github.com/dfrankland/hyper-custom-plugins/issues/1#issuecomment-267798261","issue_url":"https://api.github.com/repos/dfrankland/hyper-custom-plugins/issues/1","id":267798261,"user":{"login":"dfrankland","id":2488926,"avatar_url":"https://avatars.githubusercontent.com/u/2488926?v=3","gravatar_id":"","url":"https://api.github.com/users/dfrankland","html_url":"https://github.com/dfrankland","followers_url":"https://api.github.com/users/dfrankland/followers","following_url":"https://api.github.com/users/dfrankland/following{/other_user}","gists_url":"https://api.github.com/users/dfrankland/gists{/gist_id}","starred_url":"https://api.github.com/users/dfrankland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfrankland/subscriptions","organizations_url":"https://api.github.com/users/dfrankland/orgs","repos_url":"https://api.github.com/users/dfrankland/repos","events_url":"https://api.github.com/users/dfrankland/events{/privacy}","received_events_url":"https://api.github.com/users/dfrankland/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T01:47:55Z","updated_at":"2016-12-18T01:47:55Z","body":"If you can set `win.setHasShadow(false);` then `win` must not be `undefined`, no?\r\n\r\nYou are running Hyper version 1.0.0+ right? Also, are you using a theme? The theme may be overriding your `backgroundColor`."}}
{"actor":{"display_login":"dfrankland"}}