alacritty: add a way to spawn a new terminal in the same directory

This commit is contained in:
Alexander Bantyev 2023-01-23 20:40:22 +04:00
parent 9779beaf0d
commit 03071876ca
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -6,8 +6,13 @@
home-manager.users.balsoft.programs.alacritty = { home-manager.users.balsoft.programs.alacritty = {
enable = true; enable = true;
settings = { settings = {
key_bindings = [{
key = "Return";
mods = "Control";
action = "SpawnNewInstance";
}];
font = rec { font = {
normal.family = config.themes.fonts.mono.family; normal.family = config.themes.fonts.mono.family;
size = config.themes.fonts.mono.size; size = config.themes.fonts.mono.size;
bold = { style = "Bold"; }; bold = { style = "Bold"; };