This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrules.js
82 lines (82 loc) · 1.43 KB
/
rules.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
76
77
78
79
80
81
82
const im_windows = [
{
function: 'get_title',
pattern: /^Hangout/
},
{
function: 'get_title',
pattern: /^.*WhatsApp$/
},
{
function: 'get_title',
pattern: /^WhatsApp.*$/
},
{
function: 'get_title',
pattern: /^Brick: /
},
{
function: 'get_wm_class',
pattern: /^org.telegram/
},
{
function: 'get_title',
pattern: /^Google.{0,}Hangouts/
},
{
function: 'get_title',
pattern: /^Google\sHangouts/
},
{
function: 'get_title',
pattern: /^YakYak/
},
{
function: 'get_wm_class',
pattern: /^Skype/
},
{
function: 'get_title',
pattern: /^Skype/
},
{
function: 'get_wm_class',
pattern: /^skypeforlinux/
},
{
function: 'get_wm_class',
pattern: /^Empathy/
},
{
function: 'get_wm_class',
pattern: /^Pidgin/
},
{
function: 'get_wm_class',
pattern: /^crx_oonccmmafcaodljbcgobdbknmbljiafh/
},
{
function: 'get_wm_class',
pattern: /^ViberPC/
},
{
function: 'get_wm_class',
pattern: /^Slack/
},
{
function: 'get_wm_class',
pattern: /^discord/
}];
var rules = {
'all': {
},
'im': {
stick: true,
name: 'im',
include: im_windows
},
'not_im': {
name: 'not_im',
exclude: im_windows
}
};