fixed a lot of stuff

This commit is contained in:
Honney
2026-06-23 00:23:16 +02:00
parent 74f4b9b1be
commit 6591f6b020
24 changed files with 626 additions and 455 deletions
+5 -42
View File
@@ -1,46 +1,9 @@
# Load pywal colors (extract from ~/.cache/wal/colors.json)
if test -e $HOME/.cache/wal/colors.json1
set -g theme_0 (jq -r '.colors.color0' ~/.cache/wal/colors.json) # Primary color
set -g theme_1 (jq -r '.colors.color1' ~/.cache/wal/colors.json) # Secondary color (e.g., for git, @)
set -g theme_2 (jq -r '.colors.color2' ~/.cache/wal/colors.json) # Third color (e.g., for hostname)
set -g background_color (jq -r '.special.background' ~/.cache/wal/colors.json) # Background color
set -g foreground_color (jq -r '.special.foreground' ~/.cache/wal/colors.json) # Foreground color
else
set -g background_color "#1e1e2e" # Dark slate
set -g foreground_color "#cdd6f4" # Soft white/light gray
# Primary and accent colors
set -g theme_0 "#a6e3a1" # Green - success, directories
set -g theme_1 "#f38ba8" # Red - errors, git changes
set -g theme_2 "#89b4fa" # Blue - hostnames, info
# Extra accent colors
set -g theme_3 "#f9e2af" # Yellow - warnings
set -g theme_4 "#cba6f7" # Magenta - user prompts
set -g theme_5 "#94e2d5" # Cyan - secondary info
# load matugen-generated colors
if test -f $HOME/.config/fish/configs/colors.fish
source $HOME/.config/fish/configs/colors.fish
end
# BOBTHEFISH COLORING: Apply pywal colors to the bobthefish theme
# Username Color
set -g theme_username_color $theme_0
# Hostname Color
set -g theme_hostname_color $theme_2
# Git prompt color
set -g theme_git_branch_color $theme_1
set -g theme_git_dirty_color $theme_1
set -g theme_git_staged_color $theme_2
# Current directory color
set -g theme_pwd_color $theme_0
# Set background and foreground based on pywal theme
set -g theme_background_color $background_color
set -g theme_foreground_color $foreground_color
# Retain all existing theme settings (don't overwrite the options you have)
# Bobthefish display settings
set -g theme_display_git yes
set -g theme_display_git_dirty no
set -g theme_display_git_untracked no
@@ -80,4 +43,4 @@ set -g theme_color_scheme dark
set -g fish_prompt_pwd_dir_length 0
set -g theme_project_dir_length 1
set -g theme_newline_cursor yes
set -g theme_newline_prompt '$ '
set -g theme_newline_prompt '$ '