dootfiles/.config/starship.toml##template

125 lines
2.6 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"$schema" = 'https://starship.rs/config-schema.json'
add_newline = true
#format = """\
# $username\
# $directory\
# $kubernetes\
# $git_branch\
# $git_commit\
# $git_state\
# $git_status\
# $character\
# """
format = """\
[](bg:#030B16 fg:#7DF9AA)\
{% if yadm.os == "Darwin" %}
[󰀵 ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro_family == "arch" %}
[󰣇 ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro == "Arch" %}
[󰣇 ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro_family == "Debian" %}
[ ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro == "Fedora" %}
[ ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro == "openSUSE" %}
[ ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro_family == "redhat" %}
[󱄛 ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
[](fg:#7DF9AA bg:#1C3A5E)\
$time\
[](fg:#1C3A5E bg:#3B76F0)\
$directory\
[](fg:#3B76F0 bg:#FCF392)\
$git_branch\
$git_status\
$git_metrics\
[](fg:#FCF392 bg:#030B16)\
$character\
"""
#right_format = """\
#[](fg:#1C3A5E bg:#00000)\
#[](fg:#7DF9AA bg:#1C3A5E)\
#$time\
#[](fg:#7DF9AA bg:#1C3A5E)\
#[ some text ](fg:#000000 bg:#7DF9AA)\
#[](fg:#7DF9AA bg:#1C3A5E)\
#"""
[character]
success_symbol = "\n[](bold green)"
error_symbol = "\n[✖](bold red)"
#[character]
#success_symbol = '[ ➜](bold green) '
#error_symbol = '[ ✗](#E84D44) '
#[cmd_duration]
#min_time = 500
[cmd_duration]
format = "[  $duration ]($style)"
style = "fg:bright-white bg:18"
[username]
disabled = false
show_always = false
[directory]
disabled = false
truncation_length = 8
truncate_to_repo = true
read_only = " "
home_symbol = " "
format = "[  $path ]($style)"
style = "fg:#E4E4E4 bg:#3B76F0"
[kubernetes]
disabled = false
symbol = "󱃾 "
format = "[\\[$symbol$context \\($namespace\\)\\]]($style) "
style = "bold bright-green"
[python]
disabled = false
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
symbol = " "
#[git_branch]
#disabled = false
#symbol = " "
[git_branch]
format = '[ $symbol$branch(:$remote_branch) ]($style)'
symbol = "  "
style = "fg:#1C3A5E bg:#FCF392"
[git_status]
format = '[$all_status]($style)'
style = "fg:#1C3A5E bg:#FCF392"
[git_metrics]
format = "([+$added]($added_style))[]($added_style)"
added_style = "fg:#1C3A5E bg:#FCF392"
deleted_style = "fg:bright-red bg:235"
disabled = false
[git_commit]
disabled = false
commit_hash_length = 8
only_detached = false
style = "grey"
tag_symbol = " "
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[ 󱑍 $time ](bg:#1C3A5E fg:#8DFBD2)]($style)'