From 0d0f26de1ac8399a5317eb47203e4c9c9fab7cfc Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 20 Jan 2023 09:57:49 +0100 Subject: [PATCH] polybar: Enable i3, pulseaudio and mpd support --- home-manager/modules/polybar/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home-manager/modules/polybar/default.nix b/home-manager/modules/polybar/default.nix index 6fb87c2..5265c1a 100644 --- a/home-manager/modules/polybar/default.nix +++ b/home-manager/modules/polybar/default.nix @@ -73,6 +73,12 @@ in services.polybar = { enable = true; + package = pkgs.polybarFull.override { + i3Support = true; + pulseSupport = true; + mpdSupport = true; + }; + script = '' ${pkgs.polybar}/bin/polybar-msg cmd quit while ${pkgs.procps}/bin/pgrep -u ''${UID} -x polybar > /dev/null; do sleep 0.1; done