From d84cc11a079cb5a041ada92013b6aeca5ebaf9a5 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 26 Mar 2024 23:46:52 +0100 Subject: [PATCH] starship: add alt status formats --- .config/starship.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/starship.toml b/.config/starship.toml index 33d9e84..3a4f497 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -201,14 +201,24 @@ map_symbol = false pipestatus = true pipestatus_separator = '[| ]($style)' pipestatus_format = '[($style)$pipestatus]($style)' +# pipestatus_format = '[($style)$pipestatus => $common_meaning$signal_name$maybe_int]($style)' +# pipestatus_format = '[ \[]($style)$pipestatus[\] ]($style)' symbol = "\\(╯°□°)╯︵ ┻━┻" +# format = " (bg:$stylefg:#4169e1)[$symbol$status](bg:$style)(fg:$style)" +# format = " (bg:$style fg:#4169e1)[$symbol $status](bg:$style)(fg:$style)" +# format = "[](fg:$style)(bg:$stylefg:#4169e1)[$symbol $status](bg:$style)(fg:$style)[\ue0b4](fg:$style) " # pure unicode version # format = "(bg:$stylefg:#4169e1)[$symbol $status](bg:$style)(fg:$style) " # certain symbols of the following rely on nerdfonts -format = "[](fg:$style)[$symbol ](bg:$style)[\ue0b8 $status $common_meaning$signal_name$maybe_int \ue0ba\ue0b4](bold $style) " +# format = "[](fg:$style)[$symbol ](bg:$style)[\ue0b8 $status \ue0ba\ue0b4](bold $style) " +format = "[](fg:$style)[$symbol ](fg:#ffffff bg:$style)[\ue0b8 $status $common_meaning$signal_name$maybe_int \ue0ba\ue0b4](bold $style) " # ref: # https://github.com/starship/starship/discussions/1107#discussioncomment-345147 +# old alternative +# symbol = "\\(╯°□°)╯︵ ┻━┻ " +# format = " (bg:$stylefg:#4169e1)[$symbol$status](bg:$style)(fg:$style)" + [terraform] format = "[💠 ($workspace )]($style)" # alternatively use 💨 or 󰜋 for symbol