Use milou theme

nvim: use milou theme

starship: update to milou scheme

fish: update to milou scheme

kitty: update to milou theme

starship: increase contrast in git modules

fzf: update to milou theme

nvim/lazy: update milou theme

fish/fzf.fish: use patdiff
This commit is contained in:
Primrose 2025-10-27 22:38:53 +08:00
parent e1407ff24e
commit 0c1f72b6e2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
8 changed files with 86 additions and 87 deletions

View file

@ -10,7 +10,7 @@
#
# Script dependencies
#
home.packages = [pkgs.vivid];
home.packages = [pkgs.vivid pkgs.patdiff];
programs = {
fd.enable = true;
fzf.enable = true;

View file

@ -18,34 +18,33 @@ set fish_cursor_visual block
###############
# Learn more: https://fishshell.com/docs/current/interactive.html
begin # scope this in a block to not leak variables everywhere
set -l black \#000000
set -l grey \#a0a1a7
set -l cyan \#0184bc
set -l blue \#4078f2
set -l purple \#a626a4
set -l green \#50a14f
set -l orange \#e45649
set -l red \#ca1243
set -l brown \#986801
set -l gold \#c18401
set -l accent \#645199
set -l visual \#d0d0d0
set -l black "#073642" # .hs-identifier
set -l grey "#a0a1a7"
set -l cyan "#2aa198" # .hs-pragma
set -l blue "#268bd2" # .hs-number
set -l magenta "#d33682" # .hs-operator
set -l green "#859900" # .hs-cpp
set -l orange "#cb4b16" # .hs-char
set -l red "#af005f" # .hs-special
set -l purple "#5f5faf" # .hs-type
set -l visual "#dbcba3"
set -l cursor "#f0e5c9"
# General
set fish_color_normal $black # default color
set fish_color_command $blue # commands like echo
set fish_color_keyword $purple # keywords like if - this falls back on the command color if unset
set fish_color_quote $green # quoted text like "abc"
set fish_color_redirection $gold # IO redirections like >/dev/null
set fish_color_end $black --bold # process separators like ; and &
set fish_color_error $black # syntax errors
set fish_color_param $red # ordinary command parameters
set fish_color_command # commands like echo
set fish_color_keyword $red # keywords like if - this falls back on the command color if unset
set fish_color_quote $orange # quoted text like "abc"
set fish_color_redirection $magenta # IO redirections like >/dev/null
set fish_color_end $magenta --bold # process separators like ; and &
set fish_color_error $grey # syntax errors
set fish_color_param $black # ordinary command parameters
set fish_color_valid_path --italics # parameters that are filenames (if the file exists)
set fish_color_option $cyan # options starting with “-”, up to the first “--” parameter
set fish_color_option # options starting with “-”, up to the first “--” parameter
set fish_color_comment $grey # comments like # important
set fish_color_selection --background=$visual # selected text in vi visual mode
set fish_color_operator $orange # parameter expansion operators like * and ~
set fish_color_escape $purple # character escapes like \n and \x70
set fish_color_operator $magenta # parameter expansion operators like * and ~
set fish_color_escape $orange # character escapes like \n and \x70
set fish_color_autosuggestion $grey # autosuggestions (the proposed rest of a command)
set fish_color_cwd $black # The current working directory in the default prompt
set fish_color_cwd_root $red # The current working directory in the default prompt for the root user
@ -53,19 +52,19 @@ begin # scope this in a block to not leak variables everywhere
set fish_color_host $black # The hostname in the default prompt
set fish_color_host_remote $red # the hostname in the default prompt for remote sessions (like ssh)
set fish_color_status $red # the last commands nonzero exit code in the default prompt
set fish_color_cancel $accent --reverse # the ^C indicator on a canceled command
set fish_color_search_match --background $visual # history search matches and selected pager items (background only)
set fish_color_cancel $cyan --reverse # the ^C indicator on a canceled command
set fish_color_search_match --background=$cursor # history search matches and selected pager items (background only)
# Pager
set fish_pager_color_progress --reverse $cyan # the progress bar at the bottom left corner
set fish_pager_color_background $black # the background color of a line
set fish_pager_color_prefix $black # the prefix string, i.e. the string that is to be completed
set fish_pager_color_completion $grey # the completion itself, i.e. the proposed rest of the string
set fish_pager_color_description $grey # the completion description
set fish_pager_color_selected_background $black # background of the selected completion
set fish_pager_color_selected_prefix # prefix of the selected completion
set fish_pager_color_selected_completion $red # suffix of the selected completion
set fish_pager_color_selected_description $gold # description of the selected completion
set fish_pager_color_progress --reverse # the progress bar at the bottom left corner
set fish_pager_color_background # the background color of a line
set fish_pager_color_prefix $black # the prefix string, i.e. the string that is to be completed
set fish_pager_color_completion $grey # the completion itself, i.e. the proposed rest of the string
set fish_pager_color_description $grey # the completion description
set fish_pager_color_selected_background --background=$cursor # background of the selected completion
set fish_pager_color_selected_prefix $black # prefix of the selected completion
set fish_pager_color_selected_completion $black # suffix of the selected completion
set fish_pager_color_selected_description $black # description of the selected completion
# # Alternating colors
# set fish_pager_color_secondary_background --background=$tinted_bg # background of every second unselected completion
@ -81,8 +80,9 @@ end
set -x fzf_preview_file_cmd 'cat -n'
# fzf-fish search hidden files
set -x fzf_fd_opts --hidden --exclude=.git
set -x fzf_diff_highlighter patdiff
# fd uses LS_COLORS
set -x LS_COLORS (vivid -m 24-bit generate one-light)
set -x LS_COLORS (vivid -m 24-bit generate solarized-light) # similar to milou
set -g sponge_purge_only_on_exit true