diff --git a/home/default.nix b/home/default.nix index 805dcc7c..3e77c5d4 100644 --- a/home/default.nix +++ b/home/default.nix @@ -4,6 +4,7 @@ # Programs ./desktop/default.nix ./shell/default.nix + ./alacritty/default.nix ./emacs/default.nix ./browser/default.nix # Services diff --git a/home/desktop/plasma/default.nix b/home/desktop/plasma/default.nix index c471394b..dba1efca 100644 --- a/home/desktop/plasma/default.nix +++ b/home/desktop/plasma/default.nix @@ -101,7 +101,8 @@ maxStripes = "1"; showToolTips = "true"; launchers = [ - "applications:org.kde.konsole.desktop" + "preferred://filemanager" + "applications:Alacritty.desktop" "applications:emacs.desktop" ]; }; @@ -231,8 +232,9 @@ { inherit AccentColor; LastUsedCustomAccentColor = AccentColor; - TerminalApplication = "konsole"; - TerminalService = "org.kde.konsole.desktop"; + TerminalApplication = if config.programs.alacritty.enable then "alacritty" else "konsole"; + TerminalService = + if config.programs.alacritty.enable then "Alacritty.desktop" else "org.kde.konsole.desktop"; }; WM = { # TODO convert to base16 colours at some point