Switch to using Alacritty as default terminal emulator

Move up one level for consistency

Add some custom shell indicators for starship
This commit is contained in:
Evie Litherland-Smith 2024-07-16 09:42:54 +01:00
parent 676d2eba6f
commit 63cc162824
7 changed files with 18 additions and 10 deletions

View file

@ -1 +1 @@
{...}: {imports = [./shell/default.nix ./emacs/default.nix];} {...}: {imports = [./shell/default.nix];}

View file

@ -3,6 +3,7 @@
# Programs # Programs
./desktop/default.nix ./desktop/default.nix
./shell/default.nix ./shell/default.nix
./alacritty/default.nix
./emacs/default.nix ./emacs/default.nix
./browser/default.nix ./browser/default.nix
# Services # Services

View file

@ -202,8 +202,14 @@
in { in {
inherit AccentColor; inherit AccentColor;
LastUsedCustomAccentColor = AccentColor; LastUsedCustomAccentColor = AccentColor;
TerminalApplication = "konsole"; TerminalApplication =
TerminalService = "org.kde.konsole.desktop"; if config.programs.alacritty.enable
then "alacritty"
else "konsole";
TerminalService =
if config.programs.alacritty.enable
then "Alacritty.desktop"
else "org.kde.konsole.desktop";
}; };
WM = { WM = {
# TODO convert to base16 colours at some point # TODO convert to base16 colours at some point

View file

@ -27,10 +27,5 @@
}; };
}; };
}; };
extraConfig = {
"MainWindow" = {
"ToolBarsMovable" = "Disabled";
};
};
}; };
} }

View file

@ -12,7 +12,6 @@
in { in {
imports = [ imports = [
../default.nix ../default.nix
./alacritty/default.nix
./avizo/default.nix ./avizo/default.nix
./fuzzel/default.nix ./fuzzel/default.nix
./swaylock/default.nix ./swaylock/default.nix

View file

@ -56,6 +56,13 @@
shell = { shell = {
disabled = false; disabled = false;
format = "using [$indicator]($style)"; format = "using [$indicator]($style)";
bash_indicator = " ";
zsh_indicator = " 󱐋 ";
fish_indicator = "󰈺 ";
powershell_indicator = " ";
cmd_indicator = " ";
nu_indicator = " ν ";
unknown_indicator = " ";
}; };
status = { status = {
disabled = false; disabled = false;