Remaps Alt_l arrow keys using hjkl

This commit is contained in:
Sam 2024-07-21 16:23:47 +01:00
parent 2ec9f2db77
commit 07d19c4535
1 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,16 @@ in
}; };
}; };
# Remap Alt_L +[hjkl] to left down up right
services.xserver.displayManager.sessionCommands =
"${pkgs.xorg.xmodmap}/bin/xmodmap ${pkgs.writeText "xkb-layout" ''
keycode 64 = Mode_switch
keycode 43 = h H Left H
keycode 44 = j J Down J
keycode 45 = k K Up K
keycode 46 = l L Right L
''}";
hardware = { hardware = {
bluetooth = { bluetooth = {
enable = true; enable = true;