nix-config/home/hyprland/waybar/default.nix
2025-09-10 11:48:22 +02:00

36 lines
718 B
Nix

{
pkgs,
monitorSetup,
...
}:
{
programs.waybar = {
enable = true;
package = pkgs.waybar;
};
home.file.".config/waybar/style.css" =
if monitorSetup == "side" then
{
source = ./configs/side.css;
}
else
{
source = ./configs/style.css;
};
home.file.".config/waybar/cava.sh".source = ./configs/cava.sh;
home.file.".config/waybar/mocha.css".source = ./configs/mocha.css;
/*
home.file.".config/waybar" = {
source = ./configs;
# copy the scripts directory recursively
recursive = true;
};
home.file.".config/waybar/style.css" = lib.mkIf (monitorSetup == "side") {
source = ./configs/side.css;
};
*/
}