summaryrefslogtreecommitdiff
path: root/common/home/waybar/default.nix
blob: 7e59bf26681dc7d5cefe424e77fa7bbe829a24b9 (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
{ ... }:
{
  enable = true;
  systemd.enable = true;
  settings = {
    mainBar = {
      layer = "top";
      position = "left";
      width = 50;
      outputs = "*";
      spacing = 10;
      modules-left = [ "hyprland/workspaces" ];
      modules-center = [ ];
      modules-right = [
        "bluetooth"
        "battery"
        "tray"
      ];

      "hyprland/workspaces" = {
        format = "{icon}";
      };

      "hyprland/window" = {
        separate-outputs = true;
      };

      bluetooth = {
        format = "";
        format-disabled = "󰂲";
        format-off = "󰂲";
        format-on = "";
        format-connected = "󰂱";
        on-click = "blueberry";
      };

      tray = {
        icon-size = 15;
        spacing = 10;
      };
    };
  };
  style = ./style.css;
}