diff --git a/apps/matugen/templates/starship b/apps/matugen/templates/starship index 49130d1..0d78062 100644 --- a/apps/matugen/templates/starship +++ b/apps/matugen/templates/starship @@ -1,6 +1,5 @@ format = ''' -$directory$git_branch$rust$python -$character''' +[╭─](color1)$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break[╰─](color1)$python$character''' palette = 'colors' @@ -16,31 +15,39 @@ color7 = '{{colors.surface.default.hex}}' color8 = '{{colors.primary.default.hex}}' color9 = '{{colors.tertiary.default.hex}}' -# Prompt symbols -[character] -success_symbol = "[🞈](color9 bold)" -error_symbol = "[🞈](@{error})" -vicmd_symbol = "[🞈](#f9e2af)" - [directory] -format = "[](fg:color1 bg:color4)[󰉋](bg:color1 fg:color2)[ ](fg:color1 bg:color4)[$path ](fg:color3 bg:color4)[ ](fg:color4)" +style = "bold color8" -[directory.substitutions] -"Documents" = "󰈙 " -"Downloads" = " " -"Music" = " " -"Pictures" = " " +[character] +success_symbol = "[❯](bold color9)" +error_symbol = "[❯](bold red)" +vicmd_symbol = "[❮](bold color3)" [git_branch] -format = "[](fg:color8 bg:color4)[ ](bg:color8 fg:color5)[](fg:color8 bg:color4)[(bg:color8 fg:color5) $branch](fg:color3 bg:color4)[](fg:color4) " +format = "[$branch]($style) " +style = "bold color3" -[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 +[git_status] +format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](color9) ($ahead_behind$stashed)]($style) " +style = "bold color9" +conflicted = "​" +untracked = "​" +modified = "​" +staged = "​" +renamed = "​" +deleted = "​" +stashed = "≡" + +[git_state] +format = '\([$state( $progress_current/$progress_total)]($style)\) ' +style = "bold color3" + +[cmd_duration] +format = "[$duration]($style) " +style = "bold mustard" [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' +format = "[$virtualenv]($style) " +style = "bold color3" +detect_extensions = [] +detect_files = []