From 854cf9a5fca9ad71d766a8ec52979846e3baff3d Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Fri, 10 Oct 2025 13:51:36 -0400 Subject: [PATCH] tweak(alacritty): modify terminal colors --- home-manager/shell/alacritty.nix | 12 ++++---- home-manager/shell/fish.nix | 50 ++++++++++++++++++++++++++++++++ home-manager/shell/starship.nix | 4 +-- 3 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 home-manager/shell/fish.nix diff --git a/home-manager/shell/alacritty.nix b/home-manager/shell/alacritty.nix index 21ab827..314aaca 100644 --- a/home-manager/shell/alacritty.nix +++ b/home-manager/shell/alacritty.nix @@ -12,20 +12,20 @@ }; colors.normal = { black = "#32344a"; - red = "#ce7284"; - green = "#7dc5a0"; - yellow = "#caaa6a"; - blue = "#7bc5e4"; + red = "#f7768e"; + green = "#9ece6a"; + yellow = "#e0af68"; + blue = "#7aa2f7"; magenta = "#ad8ee6"; cyan = "#449dab"; white = "#787c99"; }; colors.bright = { black = "#444b6a"; - red = "#d5556f"; + red = "#ff7a93"; green = "#b9f27c"; yellow = "#ff9e64"; - blue = "#7da6ff"; + blue = "#7bc5e4"; magenta = "#bb9af7"; cyan = "#0db9d7"; white = "#acb0d0"; diff --git a/home-manager/shell/fish.nix b/home-manager/shell/fish.nix new file mode 100644 index 0000000..2a71e3e --- /dev/null +++ b/home-manager/shell/fish.nix @@ -0,0 +1,50 @@ +{ ... }: +{ + programs.fish.enable = true; + + # Disable greeting + programs.fish.interactiveShellInit = + "set -g fish_greeting"; + + # Set colors + programs.fish.shellInit = '' + set -g fish_color_normal normal + set -g fish_color_command brcyan + set -g fish_color_keyword + set -g fish_color_quote green + set -g fish_color_redirection yellow + set -g fish_color_end brmagenta + set -g fish_color_error brred + set -g fish_color_param blue + set -g fish_color_comment white + set -g fish_color_match --background=blue + set -g fish_color_selection white --bold --background=brblack + set -g fish_color_search_match bryellow --background=brblack + set -g fish_color_history_current --bold + set -g fish_color_operator magenta + set -g fish_color_escape yellow + set -g fish_color_cwd green + set -g fish_color_cwd_root red + set -g fish_color_option brblue + set -g fish_color_valid_path --underline + set -g fish_color_autosuggestion brblack + set -g fish_color_user brgreen + set -g fish_color_host normal + set -g fish_color_host_remote yellow + set -g fish_color_history_current --bold + set -g fish_color_cancel --reverse + set -g fish_pager_color_prefix normal --bold --underline + set -g fish_pager_color_progress brwhite --background=cyan + set -g fish_pager_color_completion normal + set -g fish_pager_color_description yellow + set -g fish_pager_color_selected_background --background=black + set -g fish_pager_color_selected_completion + set -g fish_pager_color_secondary_background + set -g fish_pager_color_secondary_description + set -g fish_pager_color_selected_prefix + set -g fish_pager_color_secondary_prefix + set -g fish_pager_color_selected_description + set -g fish_pager_color_background + set -g fish_pager_color_secondary_completion + ''; +} diff --git a/home-manager/shell/starship.nix b/home-manager/shell/starship.nix index 377b164..e1d126f 100644 --- a/home-manager/shell/starship.nix +++ b/home-manager/shell/starship.nix @@ -24,8 +24,8 @@ truncation_symbol = "⋯ /"; read_only = "  "; read_only_style = "cyan"; - before_repo_root_style = "bold blue"; - repo_root_style = "bold blue"; + before_repo_root_style = "bold bright-blue"; + repo_root_style = "bold bright-blue"; }; nix_shell = {