Partial undo of 91507f173d
This commit is contained in:
@@ -36,4 +36,27 @@
|
|||||||
# https://nest.pijul.com/yonkeltron/macOS-nix-config:main/ZLDSMIXK5XFW6.EIAAA
|
# https://nest.pijul.com/yonkeltron/macOS-nix-config:main/ZLDSMIXK5XFW6.EIAAA
|
||||||
# and
|
# and
|
||||||
# https://github.com/bgub/nix-macos-starter/tree/main
|
# https://github.com/bgub/nix-macos-starter/tree/main
|
||||||
|
|
||||||
|
launchd.agents.keyboard-remap = {
|
||||||
|
# Remap top-left key (paragraph) to backquote and backslash like
|
||||||
|
# proper ISO keyboard does, and the key right to the LShift to
|
||||||
|
# Shift.
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
Label = "com.user.keyboard-remap";
|
||||||
|
ProgramArguments = [
|
||||||
|
"/usr/bin/hidutil"
|
||||||
|
"property"
|
||||||
|
"--set"
|
||||||
|
''
|
||||||
|
{"UserKeyMapping":
|
||||||
|
[
|
||||||
|
{"HIDKeyboardModifierMappingSrc":0x700000035, "HIDKeyboardModifierMappingDst":0x7000000e1},
|
||||||
|
{"HIDKeyboardModifierMappingSrc":0x700000064, "HIDKeyboardModifierMappingDst":0x700000035},
|
||||||
|
]
|
||||||
|
}''
|
||||||
|
];
|
||||||
|
RunAtLoad = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user