1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2024-12-29 18:23:53 +00:00
This commit is contained in:
neverness 2024-11-21 19:08:10 +09:00
parent 58dc17de9b
commit 8e850a8b42

View file

@ -12,10 +12,11 @@ in {
enableTransience = true;
settings = {
add_newline = true;
right_format = lib.concatStrings [ "$cmd_duration" "$line_break" ];
# right_format = lib.concatStrings [ "$cmd_duration" "$line_break" ];
format = lib.concatStrings [
"$directory"
"$git_branch"
"$git_metrics"
"$line_break"
"$character"
];
@ -35,6 +36,11 @@ in {
truncation_length = 8;
truncation_symbol = "";
};
git_metrics = {
format = "[+$added]($added_style)/[-$deleted]($deleted_style) ";
added_style = "bold fg:green";
deleted_style = "bold fg:red";
};
cmd_duration = {
min_time = 1000;
format = "[$duration](bold fg:yellow)";