refactor: add capslock remap to fighter config

This commit is contained in:
Guz
2025-07-07 12:17:44 -03:00
parent 1d3bf73406
commit b8f0bf29ab
2 changed files with 44 additions and 17 deletions

View File

@@ -4,5 +4,49 @@
wayland.windowManager.hyprland.settings = {
"$MONITOR-1" = lib.mkForce "eDP-1";
};
services.xremap.config.modmap = [
{
name = "laptop remaps";
remap = {
# Capslock as esc and ctrl on hold
"CapsLock" = {
held = "leftctrl";
alone = "esc";
alone_timeout_millis = 150;
};
# "S" = {
# held = "leftalt";
# alone = "s";
# alone_timeout_millis = 150;
# };
# "D" = {
# held = "leftctrl";
# alone = "d";
# alone_timeout_millis = 150;
# };
# "F" = {
# held = "leftshift";
# alone = "f";
# alone_timeout_millis = 150;
# };
# "J" = {
# held = "rightshift";
# alone = "j";
# alone_timeout_millis = 150;
# };
# "K" = {
# held = "rightctrl";
# alone = "k";
# alone_timeout_millis = 150;
# };
# "L" = {
# held = "rightalt";
# alone = "l";
# alone_timeout_millis = 150;
# };
};
}
];
};
}