mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 21:16:35 +05:30
initial commit
This commit is contained in:
22
modules/home-manager/starship/default.nix
Executable file
22
modules/home-manager/starship/default.nix
Executable file
@ -0,0 +1,22 @@
|
||||
{ ... }: {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = ''[ ](bold green)$directory(bold blue)$git_branch$git_status[❯](bold yellow)[❯](bold purple)[❯](bold blue) '';
|
||||
scan_timeout = 60;
|
||||
add_newline = false;
|
||||
|
||||
line_break.disabled = true;
|
||||
directory.style = "bold blue";
|
||||
|
||||
cmd_duration.format = "[$duration]($style) ";
|
||||
git_branch.format = "[$symbol$branch]($style) ";
|
||||
nodejs.format = "[$symbol($version )]($style)";
|
||||
rust.format = "[$symbol($version )]($style)";
|
||||
golang = {
|
||||
format = "[$symbol($version )]($style)";
|
||||
symbol = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user