diff --git a/.dotbot.conf.yaml b/.dotbot.conf.yaml index bbbaaae..90373d4 100644 --- a/.dotbot.conf.yaml +++ b/.dotbot.conf.yaml @@ -7,6 +7,9 @@ - link: ~/.ack: ack ~/.ag: ag + ~/.config/starship.toml: + create: true + path: starship.toml ~/.ctags: ctags ~/.editorconfig: editorconfig ~/.gitconfig: gitconfig diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..c847d71 --- /dev/null +++ b/starship.toml @@ -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"