test starship config

This commit is contained in:
Frost-Phoenix 2023-11-06 21:48:03 +01:00
parent d8061c7ec1
commit d9bdc29527

View file

@ -2,41 +2,41 @@
{ {
programs.starship = { programs.starship = {
enable = true; enable = true;
settings = { # settings = {
add_newline = false; # add_newline = false;
character = { # character = {
success_symbol = "[󰊠 ](bold #cba6f7)[󰊠 ](bold #f2cdcd)[󰊠 ](bold #b4befe)[ ](bold #a6e3a1)"; # success_symbol = "[󰊠 ](bold #cba6f7)[󰊠 ](bold #f2cdcd)[󰊠 ](bold #b4befe)[ ](bold #a6e3a1)";
error_symbol = "[󰊠 ](bold #cba6f7)[󰊠 ](bold #f2cdcd)[󰊠 ](bold #b4befe)[ ](bold #f38ba8)"; # error_symbol = "[󰊠 ](bold #cba6f7)[󰊠 ](bold #f2cdcd)[󰊠 ](bold #b4befe)[ ](bold #f38ba8)";
vimcmd_symbol = "[ NORMAL](bold #fab387)"; # vimcmd_symbol = "[ NORMAL](bold #fab387)";
vimcmd_visual_symbol = "[ VISUAL](bold #89dceb)"; # vimcmd_visual_symbol = "[ VISUAL](bold #89dceb)";
}; # };
format = lib.strings.concatStrings [ # format = lib.strings.concatStrings [
"$nix_shell" # "$nix_shell"
"$os" # "$os"
"$directory" # "$directory"
"$container" # "$container"
"$git_branch $git_status" # "$git_branch $git_status"
"$python" # "$python"
"$nodejs" # "$nodejs"
"$lua" # "$lua"
"$rust" # "$rust"
"$java" # "$java"
"$c" # "$c"
"$golang" # "$golang"
"$cmd_duration" # "$cmd_duration"
"$status" # "$status"
"\n$character" # "\n$character"
]; # ];
git_branch.symbol = " "; # git_branch.symbol = " ";
git_commit.tag_disabled = false; # git_commit.tag_disabled = false;
git_status = { # git_status = {
ahead = ''''${count}''; # ahead = ''⇡''${count}'';
behind = ''''${count}''; # behind = ''⇣''${count}'';
diverged = ''''${ahead_count}''${behind_count}''; # diverged = ''⇕⇡''${ahead_count}⇣''${behind_count}'';
staged = "+$count"; # staged = "+$count";
}; # };
kubernetes.disabled = false; # kubernetes.disabled = false;
time.disabled = false; # time.disabled = false;
}; # };
}; };
} }