X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;f=dotfiles%2Fshell%2Fstarship.toml;h=c42f06347b3e931a18e3b56550e70fac5c6ddff4;hb=57933f3a209b3a2d5163cb617dcdd09904a02d40;hp=40df2e8e44309d8de832caba3a9ee686f1ce3706;hpb=fa33c1b0145c8f9a51926f3093c75955fdcf6102;p=shutils.git diff --git a/dotfiles/shell/starship.toml b/dotfiles/shell/starship.toml index 40df2e8..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" @@ -9,3 +11,26 @@ style_user = "bold green" [git_branch] style = "bold yellow" + +[status] +disabled = false + +[[battery.display]] +threshold = 10 +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"