added pulseaudio support

nixos
Moritz Böhme 2021-09-10 08:40:28 +02:00
parent ec1019d772
commit ec5255f6ae
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ let
base = { base = {
services.polybar = { services.polybar = {
enable = true; enable = true;
package = pkgs.polybar.override {
pulseSupport = true;
};
script = ''for m in $(polybar --list-monitors | ${pkgs.coreutils}/bin/cut -d":" -f1); do script = ''for m in $(polybar --list-monitors | ${pkgs.coreutils}/bin/cut -d":" -f1); do
MONITOR=$m polybar --reload bottom & MONITOR=$m polybar --reload bottom &
done done