yadm-new/.config/starship.toml##template

144 lines
3 KiB
Text
Raw Normal View History

2024-06-15 15:35:06 -04:00
"$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 %}
2024-08-10 19:13:41 -04:00
{% if yadm.distro == "Gentoo" %}
[ ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
2024-06-24 15:45:02 -04:00
{% if yadm.distro == "Linuxmint" %}
2024-06-24 15:49:42 -04:00
[ ](bg:#7DF9AA fg:#090c0c)\
2024-06-24 15:45:02 -04:00
{% endif %}
2024-06-15 15:55:54 -04:00
{% if yadm.distro == "Ubuntu" %}
2024-10-18 14:59:24 -04:00
[ ](bg:#7DF9AA fg:#090c0c)\
2024-06-15 15:55:54 -04:00
{% endif %}
2024-06-15 15:35:06 -04:00
{% if yadm.distro_family == "Debian" %}
[ ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
{% if yadm.distro == "Fedora" %}
2024-10-18 14:56:43 -04:00
[󰣛 ](bg:#7DF9AA fg:#090c0c)\
2024-06-15 15:35:06 -04:00
{% endif %}
{% if yadm.distro == "openSUSE" %}
2024-10-18 14:59:24 -04:00
[ ](bg:#7DF9AA fg:#090c0c)\
2024-06-15 15:35:06 -04:00
{% endif %}
{% if yadm.distro_family == "redhat" %}
[󱄛 ](bg:#7DF9AA fg:#090c0c)\
{% endif %}
2024-08-18 15:25:46 -04:00
[${hostname} ](bg:#7DF9AA fg:#090c0c)\
2024-06-15 15:35:06 -04:00
[](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 = " "
2024-11-05 11:44:39 -05:00
home_symbol = "󰋜 "
2024-06-15 15:35:06 -04:00
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)'
2024-08-18 15:25:46 -04:00
[hostname]
ssh_only = true
2024-08-18 15:32:48 -04:00
ssh_symbol = '🌏 '
2024-08-18 15:33:56 -04:00
format = '[$ssh_symbol](bg:#7DF9AA fg:#090c0c)[$hostname](bg:#7DF9AA fg:#090c0c)'
2024-08-18 15:25:46 -04:00
#detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
disabled = false