-
Notifications
You must be signed in to change notification settings - Fork 1
/
.finicky.js
75 lines (73 loc) · 1.57 KB
/
.finicky.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Use https://finicky-kickstart.now.sh to generate basic configuration
// Learn more about configuration options: https://github.com/johnste/finicky/wiki/Configuration
module.exports = {
defaultBrowser: "Google Chrome",
options: {
hideIcon: false,
checkForUpdate: true,
},
handlers: [
// ------------
// Personal
{
match: [
"to-do.live.com/*",
"linkedin.com/*",
"twitter.com/*"
],
browser: {
name: "Google Chrome",
profile: "Default",
},
},
// ------------
// Work
{
match: [
"github.com/primer/*",
"github.com/github/*",
"primer.style/*",
"https://docs.google.com/document/d/1z2f7xkzoRGlNFr2z9XtoAogtnveYwZQBhuB-AgsiKLs/edit"
],
browser: {
name: "Google Chrome",
profile: "Profile 1",
},
},
{
match: ({ opener }) => ["Slack"].includes(opener.name),
browser: {
name: "Google Chrome",
profile: "Profile 1",
},
},
// ------------
// Apps
{
match: ({ url }) => url.protocol === "slack",
browser: "/Applications/Slack.app",
},
{
match: "open.spotify.com/*",
browser: "Spotify"
},
{
match: [
"zoom.us/j/*",
finicky.matchDomains(/.*\zoom.us\/j/),
/zoom.us\/j\//,
],
browser: "us.zoom.xos"
},
{
match: "https://www.figma.com/file/*",
browser: "Figma",
}
],
rewrite: [{
match: "amazon.com/*",
url: {
host: "smile.amazon.com"
},
}]
};