Skip to content

Commit 9896a6a

Browse files
committed
add more browser
1 parent 50b13df commit 9896a6a

2 files changed

Lines changed: 79 additions & 3 deletions

File tree

karabiner.json

Lines changed: 74 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,78 @@
147147
"value": 1
148148
}
149149
]
150+
},
151+
{
152+
"to": [
153+
{
154+
"shell_command": "open https://news.ycombinator.com"
155+
}
156+
],
157+
"description": "Open https://news.ycombinator.com",
158+
"type": "basic",
159+
"from": {
160+
"key_code": "y",
161+
"modifiers": {
162+
"mandatory": [
163+
"any"
164+
]
165+
}
166+
},
167+
"conditions": [
168+
{
169+
"type": "variable_if",
170+
"name": "hyper_sublayer_b",
171+
"value": 1
172+
}
173+
]
174+
},
175+
{
176+
"to": [
177+
{
178+
"shell_command": "open https://facebook.com"
179+
}
180+
],
181+
"description": "Open https://facebook.com",
182+
"type": "basic",
183+
"from": {
184+
"key_code": "f",
185+
"modifiers": {
186+
"mandatory": [
187+
"any"
188+
]
189+
}
190+
},
191+
"conditions": [
192+
{
193+
"type": "variable_if",
194+
"name": "hyper_sublayer_b",
195+
"value": 1
196+
}
197+
]
198+
},
199+
{
200+
"to": [
201+
{
202+
"shell_command": "open https://reddit.com"
203+
}
204+
],
205+
"description": "Open https://reddit.com",
206+
"type": "basic",
207+
"from": {
208+
"key_code": "r",
209+
"modifiers": {
210+
"mandatory": [
211+
"any"
212+
]
213+
}
214+
},
215+
"conditions": [
216+
{
217+
"type": "variable_if",
218+
"name": "hyper_sublayer_b",
219+
"value": 1
220+
}
221+
]
150222
}
151223
]
152224
},
@@ -627,10 +699,10 @@
627699
{
628700
"to": [
629701
{
630-
"shell_command": "open https://web.whatsapp.com"
702+
"shell_command": "open Texts"
631703
}
632704
],
633-
"description": "Open https://web.whatsapp.com",
705+
"description": "Open Texts",
634706
"type": "basic",
635707
"from": {
636708
"key_code": "w",

rules.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ const rules: KarabinerRules[] = [
4747
b: {
4848
t: open("https://twitter.com"),
4949
q: open("https://qrtr.ly/plan"),
50+
y: open("https://news.ycombinator.com"),
51+
f: open("https://facebook.com"),
52+
r: open("https://reddit.com"),
5053
},
5154
// o = "Open" applications
5255
o: {
@@ -72,7 +75,8 @@ const rules: KarabinerRules[] = [
7275
i: app("Texts"),
7376
p: app("Spotify"),
7477
a: app("iA Presenter"),
75-
w: open("https://web.whatsapp.com"),
78+
// "W"hatsApp has been replaced by Texts
79+
w: open("Texts"),
7680
l: open(
7781
"raycast://extensions/stellate/mxstbr-commands/open-mxs-is-shortlink"
7882
),

0 commit comments

Comments
 (0)