From ab59dc3e6e3fce1837fad678f542548e6332244e Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 18 Feb 2021 13:38:26 +0100 Subject: [PATCH] starship: Update config --- dotfiles/shell/starship.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dotfiles/shell/starship.toml b/dotfiles/shell/starship.toml index 485f112..c42f063 100644 --- a/dotfiles/shell/starship.toml +++ b/dotfiles/shell/starship.toml @@ -1,3 +1,5 @@ +# https://starship.rs/config/ + [directory] truncate_to_repo = false style = "bold blue" @@ -20,3 +22,15 @@ style = "bold red" [[battery.display]] threshold = 30 style = "bold yellow" + +[time] +disabled = false +format = "[$time]($style) " +style = "fg:246" + +[custom.screen] +description = "Displays whether we are in a screen session" +command = "echo screen" +when = """test -n "$STY" """ +format = "in [$symbol($output )]($style)" +style = "bold yellow" -- 2.39.5