starship: add config

This commit is contained in:
Inhji 2022-12-04 12:20:31 +01:00
parent 6f69014a04
commit 9ccd3e9207
2 changed files with 42 additions and 0 deletions

41
config/starship/starship Normal file
View File

@ -0,0 +1,41 @@
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$cmd_duration\
$line_break\
$character"""
[directory]
style = "blue"
[character]
success_symbol = "[](purple)"
error_symbol = "[](red)"
vimcmd_symbol = "[](green)"
[git_branch]
format = "[$branch]($style)"
style = "bright-black"
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
style = "cyan"
conflicted = ""
untracked = ""
modified = ""
staged = ""
renamed = ""
deleted = ""
stashed = "≡"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[cmd_duration]
format = "[$duration]($style) "
style = "yellow"

View File

@ -12,3 +12,4 @@
glob: true
path: config/waybar/**
~/.config/sway/config: config/sway/config
~/.config/starship.toml: config/starship/starship