From 5a5c9fec069fbcb4fbee009b4ba4a28244eaecfe Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Sat, 27 Nov 2021 18:45:24 +0100 Subject: [PATCH] chore(starship): add configuration --- .dotbot.conf.yaml | 3 +++ starship.toml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 starship.toml 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"