{ pkgs, dotfilepath, user, ... }: let # todo add this to flake.nix colors = { fg = "#FFFFFF"; bg = "#191830"; border = "#F72585"; warn = "#f00"; altfg = "#F72585"; invisible = "#00400080"; currentWorkspace = "#FAD000"; seperatorColor = "#FAD000"; }; script = "~${dotfilepath}/scripts"; in { home-manager.users.${user}.services.polybar = { config = { "module/cava" = { type = "custom/script"; tail = "true"; exec = "${script}/cava.sh"; format = "%{T2}%{F${colors.bg}}%{F-}%{T-}