-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzoomkillrules.json
97 lines (95 loc) · 2.02 KB
/
zoomkillrules.json
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"title": "Button kills Zoom",
"rules": [
{
"description": "F17 to Command-W, enter",
"manipulators": [
{
"from": {
"key_code": "f17"
},
"to": [
{
"key_code": "w",
"modifiers": [
"command"
]
}
],
"to_delayed_action": {
"to_if_invoked": [
{
"key_code": 40
}
],
"to_if_canceled": [
{
"key_code": 40
}
]
},
"type": "basic"
}
]
},
{
"description": "F18 to open and quit zoom, Enter",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f18"
},
"to": [
{
"shell_command": "open -a zoom.us;osascript -e 'tell application \"zoom.us\" to quit'"
}
],
"to_delayed_action": {
"to_if_invoked": [
{
"key_code": 40
}
],
"to_if_canceled": [
{
"key_code": 40
}
]
}
}
]
},
{
"description": "F19 to Sound, open and quit zoom, Enter",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f19"
},
"to": [
{
"shell_command": "open -a zoom.us;osascript -e 'tell application \"zoom.us\" to quit';afplay ~/Downloads/Ahooga.mp3"
}
],
"to_delayed_action": {
"to_if_invoked": [
{
"key_code": 40
}
],
"to_if_canceled": [
{
"key_code": 40
}
]
},
"parameters": {
"basic.to_delayed_action_delay_milliseconds": 1000
}
}
]
}
]
}