fish: use matugen

This commit is contained in:
Nico 2025-10-05 03:32:30 +11:00
parent 63cad61e35
commit 817d65d0d7
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
4 changed files with 21 additions and 0 deletions

View file

@ -1 +1,2 @@
fish_variables
pure_prompt_colours

View file

@ -18,6 +18,8 @@ if status is-interactive
end
end
cat ~/.config/fish/pure_colours.fish | source
set pure_enable_single_line_prompt true
set HOMEBREW_AUTO_UPDATE_SECS 86400
zoxide init fish | source

View file

@ -63,3 +63,6 @@ post_hook = 'sketchybar --reload'
input_path = './templates/jankyborders.sh'
output_path = '~/.cache/matugen-jankyborders.sh'
post_hook = 'sh ~/.cache/matugen-jankyborders.sh'
[templates.fish-pure]
input_path = './templates/pure.fish'
output_path = '~/.config/fish/pure_colours.fish'

View file

@ -0,0 +1,15 @@
set pure_color_primary {{colors.primary.default.hex_stripped}}
set pure_color_normal {{colors.on_primary.default.hex_stripped}}
set pure_color_success {{colors.on_primary_container.default.hex_stripped}}
set pure_color_warning {{colors.secondary_fixed_dim.default.hex_stripped}}
set pure_color_info {{colors.secondary.default.hex_stripped}}
set pure_color_danger {{colors.error.default.hex_stripped}}
set pure_color_mute {{colors.surface_bright.default.hex_stripped}}
set pure_color_light {{colors.secondary.default.hex_stripped}}
set pure_color_dark {{colors.secondary.default.hex_stripped}}
set pure_color_git_unpushed_commits {{colors.tertiary.default.hex_stripped}}
set pure_color_git_dirty {{colors.tertiary.default.hex_stripped}}
set pure_color_git_stash {{colors.tertiary.default.hex_stripped}}