From f94b6ad5a1e3b69f53bd82e3eaa37c87f492d6a0 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 23 Jun 2025 00:54:34 +0300 Subject: [PATCH] karabiner: fix config for real --- modules/darwin/karabiner.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index ef25ba9..d5d3278 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -37,11 +37,11 @@ manipulators = allBasic [ { # ğ -> [ from.key_code = "open_bracket"; - from.modifiers.optional = [ "shift" "control" "option" "command" "fn" ]; + from.modifiers.optional = [ "control" "option" "command" "fn" ]; to = [{ key_code = "8"; - modifiers = [ "option" ]; + modifiers = [ "right_option" ]; }]; } { # Ğ -> { @@ -51,16 +51,16 @@ to = [{ key_code = "7"; - modifiers = [ "option" ]; + modifiers = [ "right_option" ]; }]; } { # ü -> ] from.key_code = "close_bracket"; - from.modifiers.optional = [ "shift" "control" "option" "command" "fn" ]; + from.modifiers.optional = [ "control" "option" "command" "fn" ]; to = [{ key_code = "9"; - modifiers = [ "option" ]; + modifiers = [ "right_option" ]; }]; } { # Ü -> } @@ -70,37 +70,37 @@ to = [{ key_code = "0"; - modifiers = [ "option" ]; + modifiers = [ "right_option" ]; }]; } { # [ -> ğ from.key_code = "8"; from.modifiers.mandatory = [ "option" ]; - from.modifiers.optional = [ "shift" "control" "command" "fn" ]; + from.modifiers.optional = [ "control" "command" "fn" ]; to = [{ key_code = "open_bracket"; }]; } { # { -> Ğ from.key_code = "7"; from.modifiers.mandatory = [ "option" ]; - from.modifiers.optional = [ "shift" "control" "command" "fn" ]; + from.modifiers.optional = [ "control" "command" "fn" ]; to = [{ key_code = "open_bracket"; modifiers = [ "shift" ]; }]; } - { # ] -> ü + { # ] -> ü from.key_code = "9"; from.modifiers.mandatory = [ "option" ]; - from.modifiers.optional = [ "shift" "control" "command" "fn" ]; + from.modifiers.optional = [ "control" "command" "fn" ]; to = [{ key_code = "close_bracket"; }]; } { # } -> Ü from.key_code = "0"; from.modifiers.mandatory = [ "option" ]; - from.modifiers.optional = [ "shift" "control" "command" "fn" ]; + from.modifiers.optional = [ "control" "command" "fn" ]; to = [{ key_code = "close_bracket"; @@ -115,13 +115,13 @@ manipulators = allBasic [ { # ı -> i from.key_code = "quote"; - from.modifiers.optional = [ "shift" "control" "option" "command" "fn" ]; + from.modifiers.optional = [ "control" "option" "command" "fn" ]; to = [{ key_code = "i"; }]; } { # i -> ı from.key_code = "i"; - from.modifiers.optional = [ "shift" "control" "option" "command" "fn" ]; + from.modifiers.optional = [ "control" "option" "command" "fn" ]; to = [{ key_code = "quote"; }]; }