starship: modify config
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
c324b5a115
commit
7827d05eb7
1 changed files with 12 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue