Former-commit-id: 80f8ca3e9a
This commit is contained in:
Hadi
2024-06-25 22:20:17 +02:00
parent 24d0f22f8e
commit 9b31f3be8d
248 changed files with 12 additions and 12 deletions

View File

@@ -0,0 +1,42 @@
{ config, lib, ... }: {
programs.starship = {
enable = true;
settings = {
add_newline = true;
format = lib.concatStrings [
"$directory"
"$git_branch"
"$git_state"
"$git_status"
"$character"
];
directory = { style = "#${config.var.theme.colors.accent}"; };
character = {
success_symbol = "[](#${config.var.theme.colors.accent})";
error_symbol = "[](red)";
vimcmd_symbol = "[](cyan)";
};
git_branch = {
format = "[$branch]($style)";
style = "bright-black";
};
git_status = {
format =
"[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)";
style = "cyan";
conflicted = "";
renamed = "";
deleted = "";
stashed = "";
};
git_state = {
format = "([$state( $progress_current/$progress_total)]($style)) ";
style = "bright-black";
};
};
};
}