mirror of
https://git.sr.ht/~neverness/ultima
synced 2024-11-24 03:01:11 +00:00
update
This commit is contained in:
parent
58dc17de9b
commit
8e850a8b42
|
@ -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)";
|
||||
|
|
Loading…
Reference in a new issue