This commit is contained in:
iFargle 2024-01-19 13:18:47 +09:00
parent 8331a0418a
commit dc640868aa

View file

@ -11,8 +11,9 @@ in
programs.starship.settings = { programs.starship.settings = {
format = lib.concatStrings [ format = lib.concatStrings [
"[](${orangeColor})" "[](${orangeColor})"
"$os" "$clock"
"$username" "$username"
"$hostname"
"[](bg:${yellowColor} fg:${orangeColor})" "[](bg:${yellowColor} fg:${orangeColor})"
"$directory" "$directory"
"[](fg:${yellowColor} bg:${blueColor})" "[](fg:${yellowColor} bg:${blueColor})"
@ -35,7 +36,7 @@ in
# "[](fg:#86BBD8 bg:#06969A)" # "[](fg:#86BBD8 bg:#06969A)"
"$docker_context" "$docker_context"
# "[](fg:#06969A bg:#33658A)" # "[](fg:#06969A bg:#33658A)"
"$time" # d"$time"
# "[ ](fg:#33658A)" # "[ ](fg:#33658A)"
]; ];
@ -47,6 +48,13 @@ in
disabled = false; disabled = false;
}; };
hostname = {
ssh_only = true;
style_user = "fg:${blackColor} bg:${orangeColor}";
format = "$[$hostname]($style)";
disabled = false;
};
os = { os = {
style = "bg:${orangeColor}"; style = "bg:${orangeColor}";
disabled = true; disabled = true;
@ -92,7 +100,7 @@ in
disabled = false; disabled = false;
time_format = "%R"; # Hour:Minute Format time_format = "%R"; # Hour:Minute Format
style = "bg:#33658A"; style = "bg:#33658A";
format = "[ $time ]($style)"; format = "[ [$time] ]($style)";
}; };
}; };
} }