Remaps Alt_l arrow keys using hjkl
This commit is contained in:
parent
2ec9f2db77
commit
07d19c4535
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue