forked from autowolf/nix
28 lines
579 B
Nix
28 lines
579 B
Nix
{ pkgs, ... }: {
|
|
programs.waybar = {
|
|
enable = true;
|
|
settings = {
|
|
mainBar = {
|
|
layer = "top";
|
|
position = "top";
|
|
height = 20;
|
|
|
|
# left
|
|
modules-left = ["privacy" "clock" "hyprland" "taskbar"];
|
|
|
|
# center
|
|
modules-center = ["mpris" "cava" "pulseaudio"];
|
|
|
|
# right
|
|
modules-right = ["network" "bluetooth" "battery" "upower"];
|
|
|
|
|
|
};
|
|
};
|
|
|
|
style = pkgs.writeTextFile {
|
|
name = "style.css";
|
|
text = builtins.readFile ./style.css;
|
|
};
|
|
};
|
|
}
|