chore(starship): add configuration

This commit is contained in:
Stefan Imhoff
2021-11-27 18:45:24 +01:00
parent 2582af23ed
commit 5a5c9fec06
2 changed files with 15 additions and 0 deletions

View File

@@ -7,6 +7,9 @@
- link:
~/.ack: ack
~/.ag: ag
~/.config/starship.toml:
create: true
path: starship.toml
~/.ctags: ctags
~/.editorconfig: editorconfig
~/.gitconfig: gitconfig

12
starship.toml Normal file
View File

@@ -0,0 +1,12 @@
# Don't print a new line at the start of the prompt
add_newline = false
# "bold red" style when capacity is between 0% and 10%
[[battery.display]]
threshold = 10
style = "bold red"
# "bold yellow" style when capacity is between 10% and 30%
[[battery.display]]
threshold = 30
style = "bold yellow"