-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_finicky.js
More file actions
75 lines (66 loc) · 1.42 KB
/
dot_finicky.js
File metadata and controls
75 lines (66 loc) · 1.42 KB
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
// Learn more about configuration options: https://github.com/johnste/finicky/wiki/Configuration
export default {
defaultBrowser: "Firefox Developer Edition",
rewrite: [
{
match: "x.com/*",
url: (url) => {
url.host = "xcancel.com";
return url;
},
},
],
options: {
hideIcon: false,
checkForUpdate: false,
},
handlers: [
{
match: ["apple.com*", "*.apple.com*"],
browser: "Safari",
},
{
match: ["atlassian.net/*", "*.atlassian.net/*"],
browser: "Google Chrome",
},
{
match: ["bitbucket.org/*"],
browser: "Google Chrome",
},
{
match: "https://www.figma.com/file/*",
browser: "Figma",
},
{
match: "*.firebase.google.com/*",
browser: "Google Chrome",
},
{
match: (url) => url.host.includes("meet.jit.si"),
browser: {
name: "Jitsi Meet",
path: "/Applications/Jitsi Meet.app",
},
url: (url) => {
return new URL(`jitsi-meet://${url.host}${url.pathname}`);
},
browser: "/Applications/Jitsi Meet.app",
},
{
match: "*.microsoftonline.com/*",
browser: "Google Chrome",
},
{
match: "open.spotify.com/*",
browser: "Spotify",
},
{
match: [
"zoom.us/*",
finicky.matchHostnames(/.*\zoom.us/),
/zoom.us\/j\//,
],
browser: "us.zoom.xos",
},
],
};