From 8cce6f1301b6e7502d5974c7769a0e8988d5378d Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 7 Apr 2024 14:42:54 -0400 Subject: [PATCH] Updated Starship config for automatic icon per OS/Distro --- ...{starship.toml => starship.toml##template} | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) rename .config/{starship.toml => starship.toml##template} (80%) diff --git a/.config/starship.toml b/.config/starship.toml##template similarity index 80% rename from .config/starship.toml rename to .config/starship.toml##template index ef373c9..436baeb 100644 --- a/.config/starship.toml +++ b/.config/starship.toml##template @@ -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)\