# Load pywal colors set -g theme_0 (jq -r '.colors.color0' ~/.cache/wal/colors.json) # Color0 for general text set -g theme_1 (jq -r '.colors.color1' ~/.cache/wal/colors.json) # Color1 for highlights (e.g., @ symbol) set -g theme_2 (jq -r '.colors.color2' ~/.cache/wal/colors.json) # Color2 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 # Customize your prompt function fish_prompt # Set background and foreground colors echo -n (set_color $background_color) # Set background color echo -n (set_color $foreground_color) # Set foreground color for text echo -n (set_color $theme_0) 'user' (set_color $theme_1) '@' (set_color $theme_2) 'host' (set_color normal) '> ' end