blob: ebfa2c4e39904a753bee4cdece03716f328d3986 (
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
|
{
config,
lib,
pkgs,
}:
let
inherit (import ../lib.nix { inherit lib; }) mkIcon;
in
{
mainBar = {
"battery" = import ./battery.nix { inherit config mkIcon; };
"cpu" = import ./cpu.nix { inherit config mkIcon; };
"clock#date" = import ./date.nix { inherit config mkIcon; };
"memory" = import ./memory.nix { inherit config mkIcon; };
"network" = import ./network.nix { inherit config mkIcon; };
"clock#time" = import ./time.nix { inherit config mkIcon; };
"pulseaudio" = import ./volume.nix { inherit config mkIcon; };
"custom/vpn" = import ./vpn.nix {
inherit
config
lib
pkgs
mkIcon
;
};
"hyprland/window" = import ./window.nix { inherit config; };
"hyprland/workspaces" = import ./workspaces.nix { inherit config lib; };
};
}
|