Created
May 3, 2020 07:24
-
-
Save s-mage/18772a664cd3a06868e7c253aa9c8918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FF = "Firefox" | |
CHROME = "Google Chrome" | |
SLACK = "com.tinyspeck.slackmacgap" | |
GLEAM_GH = /github.com\/Crowd9/ | |
module.exports = { | |
defaultBrowser: FF, | |
handlers: [ | |
{ | |
// Open any link clicked in Slack in chrome | |
match: ({ sourceBundleIdentifier }) => sourceBundleIdentifier === SLACK, | |
browser: CHROME | |
}, | |
{ | |
// Open gleam urls in chrome | |
match: GLEAM_GH, | |
browser: CHROME | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment