]> git.r.bdr.sh - rbdr/dotfiles/blob - config/karabiner/karabiner.json
8179590888399103b00e3b0cf035441075f46035
[rbdr/dotfiles] / config / karabiner / karabiner.json
1 {
2 "global": {
3 "check_for_updates_on_startup": true,
4 "show_in_menu_bar": true,
5 "show_profile_name_in_menu_bar": false
6 },
7 "profiles": [
8 {
9 "complex_modifications": {
10 "parameters": {
11 "basic.simultaneous_threshold_milliseconds": 50,
12 "basic.to_delayed_action_delay_milliseconds": 500,
13 "basic.to_if_alone_timeout_milliseconds": 1000,
14 "basic.to_if_held_down_threshold_milliseconds": 500,
15 "mouse_motion_to_scroll.speed": 100
16 },
17 "rules": [
18 {
19 "description": "print_screen to command+shift+4",
20 "manipulators": [
21 {
22 "from": {
23 "key_code": "print_screen"
24 },
25 "to": [
26 {
27 "key_code": "4",
28 "modifiers": [
29 "left_gui",
30 "left_shift"
31 ],
32 "repeat": false
33 }
34 ],
35 "type": "basic"
36 }
37 ]
38 },
39 {
40 "description": "pause to ctrl+command+q",
41 "manipulators": [
42 {
43 "from": {
44 "key_code": "pause"
45 },
46 "to": [
47 {
48 "key_code": "q",
49 "modifiers": [
50 "left_gui",
51 "left_control"
52 ],
53 "repeat": false
54 }
55 ],
56 "type": "basic"
57 }
58 ]
59 }
60 ]
61 },
62 "devices": [
63 {
64 "disable_built_in_keyboard_if_exists": false,
65 "fn_function_keys": [],
66 "identifiers": {
67 "is_keyboard": true,
68 "is_pointing_device": false,
69 "product_id": 25903,
70 "vendor_id": 3141
71 },
72 "ignore": false,
73 "manipulate_caps_lock_led": false,
74 "simple_modifications": [
75 {
76 "from": {
77 "key_code": "left_command"
78 },
79 "to": [
80 {
81 "key_code": "left_option"
82 }
83 ]
84 },
85 {
86 "from": {
87 "key_code": "left_option"
88 },
89 "to": [
90 {
91 "key_code": "left_command"
92 }
93 ]
94 },
95 {
96 "from": {
97 "key_code": "application"
98 },
99 "to": [
100 {
101 "key_code": "right_option"
102 }
103 ]
104 },
105 {
106 "from": {
107 "key_code": "right_option"
108 },
109 "to": [
110 {
111 "key_code": "right_command"
112 }
113 ]
114 }
115 ]
116 }
117 ],
118 "fn_function_keys": [
119 {
120 "from": {
121 "key_code": "f1"
122 },
123 "to": [
124 {
125 "consumer_key_code": "display_brightness_decrement"
126 }
127 ]
128 },
129 {
130 "from": {
131 "key_code": "f2"
132 },
133 "to": [
134 {
135 "consumer_key_code": "display_brightness_increment"
136 }
137 ]
138 },
139 {
140 "from": {
141 "key_code": "f3"
142 },
143 "to": [
144 {
145 "key_code": "mission_control"
146 }
147 ]
148 },
149 {
150 "from": {
151 "key_code": "f4"
152 },
153 "to": [
154 {
155 "key_code": "launchpad"
156 }
157 ]
158 },
159 {
160 "from": {
161 "key_code": "f5"
162 },
163 "to": [
164 {
165 "key_code": "illumination_decrement"
166 }
167 ]
168 },
169 {
170 "from": {
171 "key_code": "f6"
172 },
173 "to": [
174 {
175 "key_code": "illumination_increment"
176 }
177 ]
178 },
179 {
180 "from": {
181 "key_code": "f7"
182 },
183 "to": [
184 {
185 "consumer_key_code": "rewind"
186 }
187 ]
188 },
189 {
190 "from": {
191 "key_code": "f8"
192 },
193 "to": [
194 {
195 "consumer_key_code": "play_or_pause"
196 }
197 ]
198 },
199 {
200 "from": {
201 "key_code": "f9"
202 },
203 "to": [
204 {
205 "consumer_key_code": "fast_forward"
206 }
207 ]
208 },
209 {
210 "from": {
211 "key_code": "f10"
212 },
213 "to": [
214 {
215 "consumer_key_code": "mute"
216 }
217 ]
218 },
219 {
220 "from": {
221 "key_code": "f11"
222 },
223 "to": [
224 {
225 "consumer_key_code": "volume_decrement"
226 }
227 ]
228 },
229 {
230 "from": {
231 "key_code": "f12"
232 },
233 "to": [
234 {
235 "consumer_key_code": "volume_increment"
236 }
237 ]
238 }
239 ],
240 "name": "Default profile",
241 "parameters": {
242 "delay_milliseconds_before_open_device": 1000
243 },
244 "selected": true,
245 "simple_modifications": [],
246 "virtual_hid_keyboard": {
247 "country_code": 0,
248 "indicate_sticky_modifier_keys_state": true,
249 "mouse_key_xy_scale": 100
250 }
251 }
252 ]
253 }