cranberry: Use Alt for modifier

Not everything fixed but it's a start
This commit is contained in:
Geoffrey Frogeye 2024-06-18 04:17:35 +02:00
parent 445c2b8a99
commit 795ed034f8
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 7 additions and 2 deletions

View file

@ -15,11 +15,17 @@
maxVideoHeight = 1080;
};
# Alt key swallowed the Meta one
home-manager.users.geoffrey = { ... }: {
xsession.windowManager.i3.config.modifier = "Mod1";
};
};
imports = [
nixos-hardware.nixosModules.common-cpu-amd
nixos-hardware.nixosModules.common-gpu-amd
nixos-hardware.nixosModules.common-pc-laptop
nixos-hardware.nixosModules.common-pc-ssd
# TODO Fix sound
];
}

View file

@ -49,7 +49,7 @@ in
};
};
xsession.windowManager.i3.config = {
modifier = "Mod4";
modifier = lib.mkDefault "Mod4";
fonts = {
names = [ config.stylix.fonts.sansSerif.name ];
};
@ -76,7 +76,6 @@ in
button2 = "kill";
# Rofi
"${mod}+i" = "exec --no-startup-id ${pkgs.rofimoji}/bin/rofimoji";
"${mod}+Tab" = "${rofi} -modi window -show window";
# start program launcher
"${mod}+d" = "${rofi} -modi run -show run";
"${mod}+Shift+d" = "${rofi} -modi drun -show drun";