use alacritty as default shell

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-18 14:21:38 +00:00
parent 4146bcb38e
commit d90fcbd197
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ ... }: {
{ pkgs, lib, ... }: {
wayland.windowManager.sway = {
enable = true;
config = {
@ -24,5 +24,10 @@
};
};
};
keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier;
in lib.mkOptionDefault {
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
};
};
}

View file

@ -20,7 +20,6 @@
wl-clipboard
wf-recorder
(python38.withPackages(ps: with ps; [ i3pystatus keyring ]))
alacritty
];
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland
@ -39,4 +38,4 @@
layout = "de";
xkbVariant = "neo";
};
}
}