mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
use keyd instead of xkb for key remap
This commit is contained in:
parent
e3d4b36613
commit
790cb4a9d0
@ -10,9 +10,12 @@
|
||||
autoRepeatDelay = 250;
|
||||
autoRepeatInterval = 40;
|
||||
|
||||
# Swap escape key with caps lock key
|
||||
xkbOptions = "eurosign:e,caps:swapescape";
|
||||
};
|
||||
|
||||
# Use capslock as escape and/or control
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
settings = { main = { capslock = "overload(control, esc)"; }; };
|
||||
};
|
||||
|
||||
# Enable num lock on login
|
||||
|
Loading…
Reference in New Issue
Block a user