1
1
Fork 0

starship: modify config

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-26 19:10:52 -05:00
parent c324b5a115
commit 7827d05eb7
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -41,7 +41,7 @@ in {
# https://starship.rs/config/#prompt # https://starship.rs/config/#prompt
add_newline = false; add_newline = false;
format = concatStringsSep "" [ format = concatStrings [
# Top left # Top left
"$shell" "$shell"
"$all" "$all"
@ -59,9 +59,19 @@ in {
"$character" "$character"
]; ];
# https://starship.rs/advanced-config/#enable-right-prompt
right_format = concatStrings [
# Bottom right
];
# https://starship.rs/config/#battery # https://starship.rs/config/#battery
battery = { battery = {
format = " [$symbol]($style)"; format = " [$symbol]($style)";
charging_symbol = "󰂄";
discharging_symbol = "󰂃";
empty_symbol = "󰂎";
full_symbol = "󰁹";
unknown_symbol = "󰂑";
display = [ display = [
{ {
@ -204,7 +214,7 @@ in {
style = "bold #657b83"; style = "bold #657b83";
# https://docs.rs/chrono/latest/chrono/format/strftime/index.html # https://docs.rs/chrono/latest/chrono/format/strftime/index.html
time_format = "%a %b %-d %I:%M%P"; time_format = "%a %b %-d %-I:%M%P";
}; };
# https://starship.rs/config/#username # https://starship.rs/config/#username