home: starship: use tokyonight preset

This commit is contained in:
Guanran Wang 2024-01-18 16:47:24 +08:00
parent c21a75eaad
commit eaf4c73535
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -3,18 +3,22 @@
enable = true;
settings =
{
add_newline = false;
line_break.disabled = true;
#add_newline = false;
#line_break.disabled = true;
character = {
success_symbol = "[>](bold green)";
error_symbol = "[>](bold red)";
vimcmd_symbol = "[<](bold green)";
vimcmd_replace_one_symbol = "[<](bold purple)";
vimcmd_replace_symbol = "[<](bold purple)";
vimcmd_visual_symbol = "[<](bold yellow)";
};
#character = {
# success_symbol = "[>](bold green)";
# error_symbol = "[>](bold red)";
# vimcmd_symbol = "[<](bold green)";
# vimcmd_replace_one_symbol = "[<](bold purple)";
# vimcmd_replace_symbol = "[<](bold purple)";
# vimcmd_visual_symbol = "[<](bold yellow)";
#};
}
// (builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml"));
// builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml")
// builtins.fromTOML (builtins.readFile (pkgs.substitute {
src = "${pkgs.starship}/share/starship/presets/tokyo-night.toml";
replacements = ["--replace" "" ""];
}));
};
}