about summary refs log tree commit diff
path: root/users/fcuny/desktop/wm/bar.nix
blob: 265513d4e04d2ce8032be7d588764a47b038e7f4 (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
{ pkgs, ... }:

{
  programs.i3status-rust = {
    enable = true;
    bars.default = {
      settings.theme.name = "plain";
      icons = "awesome5";
      blocks = [
        {
          block = "net";
          format = "{ssid} {signal_strength} {ip}";
          interval = 5;
        }
        {
          block = "battery";
          interval = 30;
          format = "{percentage} {time}";
        }
        {
          block = "sound";
          on_click = "${pkgs.pavucontrol}/bin/pavucontrol";
        }
        {
          block = "time";
          interval = 1;
          format = "%b-%d %H:%M:%S";
          icons_format = "";
        }
      ];
    };
  };
}