fix keyboard on laptop

This commit is contained in:
Tristan 2024-01-16 14:01:46 +00:00
parent 0ac8dc8584
commit acbe87ff33
3 changed files with 5 additions and 7 deletions

View file

@ -86,7 +86,7 @@ in {
home.stateVersion = "22.05"; home.stateVersion = "22.05";
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
input = { "device:at-translated-set-2-keyboard" = {
kb_variant = "dvorak,"; kb_variant = "dvorak,";
kb_layout = "gb,gb"; kb_layout = "gb,gb";
kb_options = "grp:alt_shift_toggle,caps:escape"; kb_options = "grp:alt_shift_toggle,caps:escape";

View file

@ -83,12 +83,6 @@ in {
workspace = 4, monitor:DP-1 workspace = 4, monitor:DP-1
workspace = 5, monitor:DP-1 workspace = 5, monitor:DP-1
''; '';
settings = {
"device:zsa-technology-labs-moonlander-mark-i" = {
kb_variant = "";
kb_options = "esperanto:qwerty,lv3:ralt_switch";
};
};
}; };
} }
]; ];

View file

@ -30,6 +30,10 @@ in {
kb_layout = lib.mkDefault "gb"; kb_layout = lib.mkDefault "gb";
numlock_by_default = true; numlock_by_default = true;
}; };
"device:zsa-technology-labs-moonlander-mark-i" = {
kb_variant = "";
kb_options = "esperanto:qwerty,lv3:ralt_switch";
};
gestures = { gestures = {
workspace_swipe = true; workspace_swipe = true;
workspace_swipe_numbered = true; workspace_swipe_numbered = true;