Added Updates
This commit is contained in:
31
configs/theme.fish
Normal file → Executable file
31
configs/theme.fish
Normal file → Executable file
@@ -1,4 +1,31 @@
|
||||
# OPTIONS FOR BOBTHEFISH (Theme)
|
||||
# Load pywal colors (extract from ~/.cache/wal/colors.json)
|
||||
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
|
||||
|
||||
# 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)
|
||||
set -g theme_display_git yes
|
||||
set -g theme_display_git_dirty no
|
||||
set -g theme_display_git_untracked no
|
||||
@@ -38,4 +65,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 '$ '
|
||||
|
||||
Reference in New Issue
Block a user