diff --git a/configs/fallback_colors.fish b/configs/fallback_colors.fish new file mode 100644 index 0000000..fa9a1fb --- /dev/null +++ b/configs/fallback_colors.fish @@ -0,0 +1,53 @@ +# ── Fish + bobthefish color theme ──────────────────────────────────────────── +# Edit the hex values below to customize. Each variable has a comment explaining +# what it controls so you can pick intuitive colors. + +# ── Bobthefish prompt colors ───────────────────────────────────────────────── + +set -g theme_username_color "#cba6f7" # Username text (try: purple, pink, cyan) +set -g theme_hostname_color "#89b4fa" # Hostname text (try: blue, cyan) +set -g theme_git_branch_color "#a6e3a1" # Git branch name (try: green, teal) +set -g theme_git_dirty_color "#f38ba8" # Git dirty/untracked (try: red, peach) +set -g theme_git_staged_color "#a6e3a1" # Git staged files (try: green) +set -g theme_pwd_color "#cba6f7" # Current directory (try: purple, yellow) +set -g theme_background_color "#1e1e2e" # Terminal background (darkest color) +set -g theme_foreground_color "#cdd6f4" # Default text (lightest color) + +# ── Fish syntax highlighting ───────────────────────────────────────────────── +# These control how fish colors different parts of your command line. + +set --global fish_color_normal "#cdd6f4" # Plain text +set --global fish_color_command "#89b4fa" # Valid commands like ls, git +set --global fish_color_param "#cdd6f4" # Command arguments and options +set --global fish_color_error "#f38ba8" # Invalid commands or syntax +set --global fish_color_cancel "#f38ba8" # Cancelled/aborted commands + +set --global fish_color_quote "#a6e3a1" # Quoted strings '...' "..." +set --global fish_color_redirection "#cba6f7" --bold # Pipes | and redirects > +set --global fish_color_operator "#94e2d5" # && || and other operators +set --global fish_color_escape "#f5c2e7" # Escape sequences like \n + +set --global fish_color_comment "#6c7086" # Comments starting with # +set --global fish_color_autosuggestion "#6c7086" # Auto-suggested text (dim) + +set --global fish_color_selection "#cdd6f4" --bold --background="#45475a" +set --global fish_color_search_match "#1e1e2e" --background="#f9e2af" + +set --global fish_color_status "#f38ba8" # Exit status of last command +set --global fish_color_cwd "#a6e3a1" # Current directory in prompt +set --global fish_color_cwd_root "#f38ba8" # Current dir when root +set --global fish_color_user "#cba6f7" # Username in prompt +set --global fish_color_host "#89b4fa" # Hostname in prompt +set --global fish_color_host_remote "#a6e3a1" # Remote SSH hostname +set --global fish_color_end "#94e2d5" # End-of-line markers + +set --global fish_color_history_current --bold # History search current match +set --global fish_color_valid_path --underline # Valid paths (auto-underline) + +# ── Pager (completions menu) colors ────────────────────────────────────────── + +set --global fish_pager_color_completion "#a6adc8" # Completion items +set --global fish_pager_color_description "#6c7086" -i # Descriptions +set --global fish_pager_color_prefix "#cba6f7" --bold --underline +set --global fish_pager_color_progress "#cdd6f4" --background="#45475a" +set --global fish_pager_color_selected_background "#45475a" \ No newline at end of file diff --git a/configs/theme.fish b/configs/theme.fish index 2076fa9..21675be 100755 --- a/configs/theme.fish +++ b/configs/theme.fish @@ -1,6 +1,10 @@ # load matugen-generated colors if test -f $HOME/.config/fish/configs/colors.fish source $HOME/.config/fish/configs/colors.fish +else + if test -f $HOME/.config/fish/configs/fallback_colors.fish + source $HOME/.config/fish/configs/fallback_colors.fish + end end # Bobthefish display settings