polybar: Enable i3, pulseaudio and mpd support
This commit is contained in:
parent
143b7ea65a
commit
0d0f26de1a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue