init
This commit is contained in:
69
templates/starship.toml
Normal file
69
templates/starship.toml
Normal file
@@ -0,0 +1,69 @@
|
||||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
format = """
|
||||
[░▒▓]({{colors.primary_container.default.hex}})\
|
||||
$username\
|
||||
[ ](bg:{{colors.primary_container.default.hex}} fg:{{colors.on_primary_container.default.hex}})\
|
||||
$directory\
|
||||
$time\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
$nix_shell\
|
||||
$character"""
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:{{colors.primary_container.default.hex}} fg:{{colors.on_primary_container.default.hex}}"
|
||||
format = "[ $user]($style)"
|
||||
|
||||
[directory]
|
||||
style = "fg:{{colors.on_primary.default.hex}} bg:{{colors.primary.default.hex}}"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R"
|
||||
style = "bg:{{colors.surface_container.default.hex}}"
|
||||
format = '[[ $time ](fg:{{colors.on_surface_variant.default.hex}} bg:{{colors.surface_container.default.hex}})]($style)'
|
||||
|
||||
[git_branch]
|
||||
disabled = false
|
||||
symbol = " "
|
||||
style = "bg:{{colors.secondary.default.hex}} fg:{{colors.on_secondary.default.hex}}"
|
||||
format = '[ $symbol$branch ](bold $style)'
|
||||
|
||||
[git_status]
|
||||
disabled = false
|
||||
style = "bg:{{colors.secondary.default.hex}} fg:{{colors.on_secondary.default.hex}}"
|
||||
format = '[$all_status$ahead_behind]($style)'
|
||||
|
||||
# up_to_date = " synced "
|
||||
modified = "modified "
|
||||
staged = "staged "
|
||||
untracked = "untracked "
|
||||
ahead = "ahead ⇡${count} "
|
||||
behind = "behind ⇣${count} "
|
||||
diverged = "diverged ⇕⇡${ahead_count}⇣${behind_count} "
|
||||
conflicted = "conflict "
|
||||
stashed = "stashed "
|
||||
renamed = "renamed "
|
||||
deleted = "deleted "
|
||||
|
||||
[nix_shell]
|
||||
disabled = false
|
||||
format = '[ <$name> ]($style)'
|
||||
style = "bg:{{colors.surface_variant.default.hex}} fg:{{colors.on_surface_variant.default.hex}}"
|
||||
impure_msg = '(impure)'
|
||||
pure_msg = '(pure)'
|
||||
|
||||
[character]
|
||||
success_symbol = "[ ➜]({{colors.primary.default.hex}})"
|
||||
error_symbol = "[ ERROR ](bold {{colors.error.default.hex}})[➜]({{colors.error.default.hex}})"
|
||||
Reference in New Issue
Block a user