nix-config/home/hyprland/waybar/default.nix

36 lines
718 B
Nix
Raw Normal View History

2025-03-25 15:23:08 +01:00
{
pkgs,
2025-09-10 11:48:22 +02:00
monitorSetup,
2025-03-25 15:23:08 +01:00
...
2025-09-03 10:03:29 +02:00
}:
{
programs.waybar = {
enable = true;
package = pkgs.waybar;
};
2025-03-25 15:23:08 +01:00
2025-09-10 11:48:22 +02:00
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;
};
*/
2025-03-25 15:23:08 +01:00
}