about summary refs log tree commit diff
path: root/home/profiles/base/config/waybar/settings.nix
blob: 90e793a374ece7b1ec127e3afc89f80647e65fdc (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
56
{ neotheme }:

with neotheme.colors;
{
  layer = "bottom";
  position = "top";
  height = 22;
  modules-left = [ "pulseaudio" "custom/seperator" "cpu" "custom/seperator" "memory" ];
  modules-center = [ "sway/workspaces" ];
  modules-right = [ "clock" ];

  "sway/workspaces" = {
    all-outputs = true;
    disable-scroll = false;
    format = "{name}";
    persistent_workspaces = {
      "1:I" = [ ];
      "2:II" = [ ];
      "3:III" = [ ];
      "4:IV" = [ ];
      "5:V" = [ ];
      "6:VI" = [ ];
      "7:VII" = [ ];
      "8:VIII" = [ ];
      "9:IX" = [ ];
      "10:X" = [ ];
    };
  };

  "clock" = {
    interval = 10;
    format = "<span foreground='#${color5}'></span> {:%A, %b %d %H:%M}";
  };

  "cpu" = {
    interval = 5;
    format = "<span foreground='#${color2}'></span> {usage:3}%";
  };

  "pulseaudio" = {
    format = "<span foreground='#${color4}'>{icon}</span> {volume}%";
    format-muted = "ﱝ  Muted";
    format-icons.default = [ " " " " " " ];
  };

  "memory" = {
    interval = 5;
    format = "<span foreground='#${color3}'>﬙</span> {used:0.2f}GiB";
  };

  "custom/seperator" = {
    format = "|";
    interval = "once";
    tooltip = false;
  };
}