aboutsummaryrefslogtreecommitdiff
path: root/config/starship.nix
blob: 500a0cdfaaec091f70f7e531dedc8966390c3ae3 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ ... }:

{
  xdg.enable = true;

  programs.starship = {
    enable = true;
    settings = {
      add_newline = true;
      command_timeout = 100000000;

      line_break = {
        disabled = true;
      };

      package = {
        disabled = true;
      };

      aws = {
        style = "bold #ffb86c";
      };

      character = {
        error_symbol = "[❯](bold #ff5555)";
        success_symbol = "[❯](bold #50fa7b)";
      };

      cmd_duration = {
        style = "bold #f1fa8c";
      };

      directory = {
        style = "bold #50fa7b";
      };

      git_branch = {
        style = "bold #ff79c6";
      };

      git_status = {
        style = "bold #ff5555";
      };

      hostname = {
        style = "bold #bd93f9";
      };

      username = {
        format = "[$user]($style) on ";
        style_user = "bold #8be9fd";
      };
    };
  };
}