Updated Starship config for automatic icon per OS/Distro

This commit is contained in:
Eric Renfro 2024-04-07 14:42:54 -04:00
parent 9197c81bcb
commit 8cce6f1301
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -14,7 +14,27 @@ add_newline = true
# """
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)\