diff --git a/stow/.config/fish/.gitignore b/stow/.config/fish/.gitignore index 23efee9..e4d0790 100644 --- a/stow/.config/fish/.gitignore +++ b/stow/.config/fish/.gitignore @@ -1 +1,2 @@ fish_variables +pure_prompt_colours diff --git a/stow/.config/fish/config.fish b/stow/.config/fish/config.fish index ce7d797..2155f8a 100644 --- a/stow/.config/fish/config.fish +++ b/stow/.config/fish/config.fish @@ -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 diff --git a/stow/.config/matugen/config.toml b/stow/.config/matugen/config.toml index 1f9aaeb..954ba55 100644 --- a/stow/.config/matugen/config.toml +++ b/stow/.config/matugen/config.toml @@ -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' diff --git a/stow/.config/matugen/templates/pure.fish b/stow/.config/matugen/templates/pure.fish new file mode 100644 index 0000000..fc74d4b --- /dev/null +++ b/stow/.config/matugen/templates/pure.fish @@ -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}}