{ 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; }; */ }