From 19beab2b85a04d32891833d0ecb568e3f3aea0c5 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 2 Dec 2023 22:33:21 +0100 Subject: [PATCH] Show number of background(ed) jobs --- .config/starship.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/starship.toml b/.config/starship.toml index d9d6cd8..fda17d8 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -1,5 +1,6 @@ format = """ [](#9A348E)\ +$jobs\ $os\ $username\ [](bg:#DA627D fg:#9A348E)\ @@ -32,6 +33,12 @@ $cmd_duration\ # Disable the blank line at the start of the prompt # add_newline = false +# Backgrounded processes +[jobs] +style = "bg:#9A348E" +symbol = '✦' +format = '[$number$symbol ]($style)' + # You can also replace your username with a neat symbol like  or disable this # and use the os module below [username]