From 1b864affa6a3345625d01bc863a23a55cdfa9cd5 Mon Sep 17 00:00:00 2001 From: Dan MacLeod Date: Sat, 25 Jan 2025 21:54:49 +1030 Subject: [PATCH] added os flags --- starship.toml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/starship.toml b/starship.toml index a13593f..9c49529 100644 --- a/starship.toml +++ b/starship.toml @@ -29,7 +29,7 @@ # [ ](fg:sapphire)\ # \n$character""" -format="$username at $hostname in $directory $git_branch $git_status$package $all$time $character" +format="$username at $hostname in $directory $git_branch $git_status$package $all$os$time $character" # Disable the blank line at the start of the prompt # add_newline = false @@ -65,6 +65,13 @@ base = "#24273a" mantle = "#1e2030" crust = "#181926" +[os.symbols] +Arch = " " +Fedora = " " +Ubuntu = " " +Debian = " " +Alpine = " " + # You can also replace your username with a neat symbol like  or disable this # and use the os module below [username] @@ -83,8 +90,8 @@ format = '[$hostname]($style)' # An alternative to the username module which displays a symbol that # represents the current operating system [os] -style = "#9A348E" -disabled = true # Disabled by default +style = "blue" +disabled = false # Disabled by default [directory] style = "maroon" @@ -198,4 +205,4 @@ style = "lavender" disabled = false time_format = "%R" # Hour:Minute Format style = "sapphire" -format = '[♥ $time]($style)' +format = '[$time]($style)'