From 03071876cad17b84ec20c3b7eb1c8e46cdc83174 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Mon, 23 Jan 2023 20:40:22 +0400 Subject: [PATCH] alacritty: add a way to spawn a new terminal in the same directory --- profiles/applications/alacritty.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/profiles/applications/alacritty.nix b/profiles/applications/alacritty.nix index ac32b46..9d5218e 100644 --- a/profiles/applications/alacritty.nix +++ b/profiles/applications/alacritty.nix @@ -6,8 +6,13 @@ home-manager.users.balsoft.programs.alacritty = { enable = true; settings = { + key_bindings = [{ + key = "Return"; + mods = "Control"; + action = "SpawnNewInstance"; + }]; - font = rec { + font = { normal.family = config.themes.fonts.mono.family; size = config.themes.fonts.mono.size; bold = { style = "Bold"; };