{...}: { services.polybar = { enable = true; script = "polybar bar"; config = { colors = { base = "#1e1e2e"; mantle = "#181825"; crust = "#cc11111b"; text = "#cdd6f4"; subtext0 = "#a6adc8"; subtext1 = "#bac2de"; surface0 = "#313244"; surface1 = "#45475a"; surface2 = "#585b70"; overlay0 = "#6c7086"; overlay1 = "#7f849c"; overlay2 = "#9399b2"; blue = "#89b4fa"; lavender = "#b4befe"; sapphire = "#74c7ec"; sky = "#89dceb"; teal = "#94e2d5"; green = "#a6e3a1"; yellow = "#f9e2af"; peach = "#fab387"; maroon = "#eba0ac"; red = "#f38ba8"; mauve = "#cba6f7"; pink = "#f5c2e7"; flamingo = "#f2cdcd"; rosewater = "#f5e0dc"; transparent = "#FF00"; }; "bar/main" = { width = "100%"; height = 30; offset-y = 0; top = true; fixed-center = true; wm-restack = "bspwm"; override-redirect = false; scroll-up = "next"; scroll-down = "prev"; enable-ipc = true; background = "\${colors.crust}"; foreground = "\${colors.text}"; font-0 = "JetBrainsMono Nerd Font:style=Bold:size=10;2"; font-1 = "Source Han Sans CN:size=10;2"; modules-left = "bspwm"; modules-center = "title"; modules-right = "pulseaudio battery date"; tray-position = "right"; cursor-click = "pointer"; }; settings = { screenchange-reload = true; format-padding = 1; }; "module/nowplaying" = { type = "custom/script"; tail = true; interval = 1; format = "󰕾