blob: b49353f4a8766b670023ba2b6adafcbc34691f06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ pkgs, ... }:
let
toml = pkgs.formats.toml {};
in {
xdg.config.files."starship.toml".source = toml.generate "starship.toml" {
scan_timeout = 60;
add_newline = false;
command_timeout = 3600;
format = "$directory$git_branch[\\$](bright-black) ";
right_format = "$nix_shell";
nix_shell = {
format = "[ $state]($style)";
style = "bright-black";
};
directory = {
format = "[$path]($style) ";
truncate_to_repo = false;
style = "blue";
};
git_branch = {
format = "[$branch]($style) ";
style = "purple";
};
};
}
|