Updated Starship config for automatic icon per OS/Distro
This commit is contained in:
parent
9197c81bcb
commit
8cce6f1301
1 changed files with 20 additions and 0 deletions
|
@ -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)\
|
Loading…
Reference in a new issue