aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/waybar.nix
blob: 9df08b29467c802536f60d4735202888901bfe46 (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
{ ... }: {
  programs.waybar = {
    systemd = {
      enable = true;
      target = "hyprland-session.target";
    };
    #    settings.mainBar = {
    #      layer = "top";
    #      position = "right";
    #      width = 40;
    #      reload_style_on_change = true;
    #
    #      modules-left = [ "hyprland/workspaces" ];
    #      modules-right = [
    #        "battery"
    #        "network"
    #        "cpu"
    #        "memory"
    #        "temperature"
    #        "backlight"
    #        "clock"
    #        "tray"
    #      ];
    #
    #      clock = {
    #        format = "{:%H:%m\n%b}";
    #      };
    #
    #      battery = {
    #        format = lib.concatStringsSep "\n" [
    #          "{icon} {capacity}%"
    #          "󱐋 {power:4.1f} W"
    #        ];
    #        interval = 2;
    #        format-icons = [ "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
    #      };
    #
    #      keyboard-state = {
    #        numlock = true;
    #        capslock = true;
    #        format = "{name} {icon}";
    #        format-icons = {
    #          locked = "";
    #          unlocked = "";
    #        };
    #      };
    #    }; # end of settings.mainBar
    #    style = builtins.readFile ./waybar.css;
  };
}