Set alacritty as default terminal emulator again

This commit is contained in:
Evie Litherland-Smith 2024-08-02 17:08:53 +01:00
parent 40b7e74d9a
commit 41251d17f2
2 changed files with 6 additions and 3 deletions

View file

@ -4,6 +4,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

@ -101,7 +101,8 @@
maxStripes = "1"; maxStripes = "1";
showToolTips = "true"; showToolTips = "true";
launchers = [ launchers = [
"applications:org.kde.konsole.desktop" "preferred://filemanager"
"applications:Alacritty.desktop"
"applications:emacs.desktop" "applications:emacs.desktop"
]; ];
}; };
@ -231,8 +232,9 @@
{ {
inherit AccentColor; inherit AccentColor;
LastUsedCustomAccentColor = AccentColor; LastUsedCustomAccentColor = AccentColor;
TerminalApplication = "konsole"; TerminalApplication = if config.programs.alacritty.enable then "alacritty" else "konsole";
TerminalService = "org.kde.konsole.desktop"; 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