diff --git a/apps/matugen/templates/starship b/apps/matugen/templates/starship index b3804c4..49130d1 100644 --- a/apps/matugen/templates/starship +++ b/apps/matugen/templates/starship @@ -1,6 +1,6 @@ -format = """ -[](surface0)$os$directory[](fg:surface0 bg:peach)$git_branch$git_status[](fg:peach bg:surface1)$c$rust$nodejs$python$golang[](fg:surface1 bg:surface0)$nix_shell[](surface0) -$character""" +format = ''' +$directory$git_branch$rust$python +$character''' palette = 'colors' @@ -16,34 +16,31 @@ color7 = '{{colors.surface.default.hex}}' color8 = '{{colors.primary.default.hex}}' color9 = '{{colors.tertiary.default.hex}}' -[os] -disabled = false -format = "[$symbol]($style)" -style = "bg:surface0 fg:text" - -[os.symbols] -NixOS = " " +# Prompt symbols +[character] +success_symbol = "[🞈](color9 bold)" +error_symbol = "[🞈](@{error})" +vicmd_symbol = "[🞈](#f9e2af)" [directory] -style = "bg:surface0 fg:lavender" -format = "[ $path ]($style)" -truncation_length = 3 -truncation_symbol = "…/" +format = "[](fg:color1 bg:color4)[󰉋](bg:color1 fg:color2)[ ](fg:color1 bg:color4)[$path ](fg:color3 bg:color4)[ ](fg:color4)" + +[directory.substitutions] +"Documents" = "󰈙 " +"Downloads" = " " +"Music" = " " +"Pictures" = " " [git_branch] -symbol = "󰊢 " -style = "bg:peach fg:surface0" -format = "[[ $symbol $branch ]($style)]($style)" +format = "[](fg:color8 bg:color4)[ ](bg:color8 fg:color5)[](fg:color8 bg:color4)[(bg:color8 fg:color5) $branch](fg:color3 bg:color4)[](fg:color4) " -[git_status] -style = "bg:peach fg:surface0" -format = "[[($all_status$ahead_behind )]($style)]($style)" +[time] +format = "[](fg:color8 bg:color4)[ ](bg:color8 fg:color5)[](fg:color8 bg:color4)[(bg:color8 fg:color5) $time](fg:color3 bg:color4)[](fg:color4) " +disabled = false +time_format = "%R" # Hour:Minute Format -[nix_shell] -symbol = "󱄅 " -style = "bg:surface0 fg:sapphire" -format = "[ $symbol $state ]($style)" - -[character] -success_symbol = "[󱞩](bold green)" -error_symbol = "[󱞩](bold red)" +[python] +format = "[](fg:color8 bg:color4)[${symbol}${version}](bg:color8 fg:color5)[](fg:color8 bg:color4)[(bg:color8 fg:color5)( ${virtualenv})](fg:color3 bg:color4)[](fg:color4) " +symbol = '🐍' +# pyenv_version_name = true +pyenv_prefix = 'venv'