From 795ed034f8a28c29720d82e389b46c47aa1887f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Tue, 18 Jun 2024 04:17:35 +0200 Subject: [PATCH] cranberry: Use Alt for modifier Not everything fixed but it's a start --- cranberry/hardware.nix | 6 ++++++ hm/desktop/i3.nix | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cranberry/hardware.nix b/cranberry/hardware.nix index 7ea9348..8ef121b 100644 --- a/cranberry/hardware.nix +++ b/cranberry/hardware.nix @@ -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 ]; } diff --git a/hm/desktop/i3.nix b/hm/desktop/i3.nix index 6bc4a73..4e70eea 100644 --- a/hm/desktop/i3.nix +++ b/hm/desktop/i3.nix @@ -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";