Skip to content

Commit

Permalink
(i3) swap the keys for specific keyboards
Browse files Browse the repository at this point in the history
Signed-off-by: Francis Begyn <[email protected]>
  • Loading branch information
fbegyn committed Sep 11, 2024
1 parent 4a889ba commit c62311f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions users/francis/i3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,23 @@
variant = "altgr-intl";
options = "eurosign:5";
};
inputClassSections = [
''
Identifier "Built-in keyboard swap cmd/alt"
MatchProduct "AT Translated Set 2 keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbVariant" "altgr-intl"
Option "XkbOptions" "eurosign:5,altwin:swap_alt_win"
''
];
};
services.libinput = {
enable =true;
touchpad = {
tapping = false;
};
enable =true;
touchpad = {
tapping = false;
};
};

services.xserver.displayManager.lightdm.enable = true;
services.displayManager.defaultSession = "none+i3";
Expand Down

0 comments on commit c62311f

Please sign in to comment.