projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2594918
)
starship: Update config
author
Stefan Huber <shuber@sthu.org>
Thu, 18 Feb 2021 12:38:26 +0000
(13:38 +0100)
committer
Stefan Huber <shuber@sthu.org>
Thu, 18 Feb 2021 12:38:26 +0000
(13:38 +0100)
dotfiles/shell/starship.toml
patch
|
blob
|
history
diff --git
a/dotfiles/shell/starship.toml
b/dotfiles/shell/starship.toml
index 485f1129e38064598a4e0d6269c35b2ceac93eb6..c42f06347b3e931a18e3b56550e70fac5c6ddff4 100644
(file)
--- 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"
[directory]
truncate_to_repo = false
style = "bold blue"
@@
-20,3
+22,15
@@
style = "bold red"
[[battery.display]]
threshold = 30
style = "bold yellow"
[[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"