diff --git a/hm_modules/alacritty.nix b/hm_modules/alacritty.nix index 4c33035..c94718a 100644 --- a/hm_modules/alacritty.nix +++ b/hm_modules/alacritty.nix @@ -28,12 +28,20 @@ in programs.alacritty = { enable = true; settings = { + key_bindings = [{ + key = "Return"; + mods = "Control|Shift"; + action = "SpawnNewInstance"; + }]; # env.TERM = "xterm-256color"; - env.TERM = "alacritty"; + env = { + TERM = "alacritty"; + WINIT_X11_SCALE_FACTOR = "1"; + }; scrolling.history = 3000; font = { normal.family = pkgs.rice.font.monospace.name; - size = pkgs.rice.font.monospace.size / 1.5; # Font size is broken + inherit (pkgs.rice.font.monospace) size; }; window.opacity = pkgs.rice.opacity; mouse = {