polybar: Enable i3, pulseaudio and mpd support

This commit is contained in:
Erwin Boskma 2023-01-20 09:57:49 +01:00
parent 143b7ea65a
commit 0d0f26de1a
Signed by: erwin
SSH key fingerprint: SHA256:Vw4O4qA0i5x65Y7yyjDpWDCSMSXAhqT4X7cJ3frdnLY

View file

@ -73,6 +73,12 @@ in
services.polybar = { services.polybar = {
enable = true; enable = true;
package = pkgs.polybarFull.override {
i3Support = true;
pulseSupport = true;
mpdSupport = true;
};
script = '' script = ''
${pkgs.polybar}/bin/polybar-msg cmd quit ${pkgs.polybar}/bin/polybar-msg cmd quit
while ${pkgs.procps}/bin/pgrep -u ''${UID} -x polybar > /dev/null; do sleep 0.1; done while ${pkgs.procps}/bin/pgrep -u ''${UID} -x polybar > /dev/null; do sleep 0.1; done