summaryrefslogtreecommitdiff
path: root/home/wayland/modules/sway/i3status.nix
blob: 57b62a4cc9e3ef6ef7962aab5511d92ef747cb3c (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
31
32
33
34
35
{ ... }: {
  programs.i3status = {
    enable = true;
    enableDefault = false;

    general = {
      output_format = "i3bar";
      separator = "";
      interval = 5;
      colors = false;
    };

    modules = {
      "tztime local" = {
        position = 30;
        settings.format = "󱛡   %a,%e %b  %H:%M";
      };
      "volume master" = {
        position = 20;
        settings = {
          format = "󰕾  %volume";
          format_muted = "󰖁  %volume";
        };
      };
      "memory" = {
        position = 10;
        settings.format = "  %available";
      };
      "disk /" = {
        position = 00;
        settings.format = "󰋊   %avail";
      };
    };
  };
}