aboutsummaryrefslogtreecommitdiff
path: root/config/karabiner
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-10-30 19:01:51 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-10-30 19:01:51 +0100
commit8350aa04f51882f11bd40a51eacd4a0c47bafc02 (patch)
tree69e94b2e26ca370108c476eade15150c34b307d1 /config/karabiner
parent1cb7eb48c4e81626d3df6736fd0e2a866674def5 (diff)
parent2b09251962f4b80eeee1c6e11bde8d29536915e6 (diff)
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles
Diffstat (limited to 'config/karabiner')
-rw-r--r--config/karabiner/karabiner.json125
1 files changed, 124 insertions, 1 deletions
diff --git a/config/karabiner/karabiner.json b/config/karabiner/karabiner.json
index 8a77fbc..eb006a3 100644
--- a/config/karabiner/karabiner.json
+++ b/config/karabiner/karabiner.json
@@ -5,6 +5,89 @@
"complex_modifications": {
"rules": [
{
+ "description": "Show Desktop",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "f5",
+ "modifiers": { "mandatory": ["command"] }
+ },
+ "to": [
+ {
+ "key_code": "up_arrow",
+ "modifiers": ["command", "control"]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Next MPC Track",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "f9",
+ "modifiers": { "mandatory": ["command"] }
+ },
+ "to": [{ "shell_command": "/opt/homebrew/bin/mpc next" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Previous MPC Track",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "f7",
+ "modifiers": { "mandatory": ["command"] }
+ },
+ "to": [{ "shell_command": "/opt/homebrew/bin/mpc prev" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Play / Pause MPC",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "f8",
+ "modifiers": { "mandatory": ["command"] }
+ },
+ "to": [{ "shell_command": "/opt/homebrew/bin/mpc toggle" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Change Wallpaper",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "f5",
+ "modifiers": { "mandatory": ["command", "option"] }
+ },
+ "to": [{ "shell_command": "/Users/rbdr/.wpaperalt" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Change Wallpaper Set",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "f5",
+ "modifiers": { "mandatory": ["command", "option", "control"] }
+ },
+ "to": [{ "shell_command": "/Users/rbdr/.wpaperalt --switch" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
"description": "print_screen to command+shift+4",
"manipulators": [
{
@@ -61,7 +144,17 @@
"product_id": 25903,
"vendor_id": 3141
},
- "manipulate_caps_lock_led": false
+ "manipulate_caps_lock_led": false,
+ "simple_modifications": [
+ {
+ "from": { "key_code": "left_command" },
+ "to": [{ "key_code": "left_option" }]
+ },
+ {
+ "from": { "key_code": "left_option" },
+ "to": [{ "key_code": "left_command" }]
+ }
+ ]
},
{
"identifiers": {
@@ -79,6 +172,30 @@
"to": [{ "key_code": "grave_accent_and_tilde" }]
}
]
+ },
+ {
+ "identifiers": {
+ "is_keyboard": true,
+ "product_id": 41617,
+ "vendor_id": 1241
+ },
+ "manipulate_caps_lock_led": false
+ },
+ {
+ "identifiers": {
+ "is_consumer": true,
+ "product_id": 41617,
+ "vendor_id": 1241
+ },
+ "ignore": false
+ },
+ {
+ "identifiers": {
+ "is_keyboard": true,
+ "product_id": 32777,
+ "vendor_id": 44064
+ },
+ "ignore": true
}
],
"fn_function_keys": [
@@ -101,6 +218,12 @@
],
"name": "Default profile",
"selected": true,
+ "simple_modifications": [
+ {
+ "from": { "key_code": "caps_lock" },
+ "to": [{ "key_code": "left_control" }]
+ }
+ ],
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"