From f4c4c9d0561ae1346fd7e7d19c387fd81d80a238 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Feb 2022 08:50:52 -0800 Subject: home-manager: add polybar to i3 --- users/fcuny/i3.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'users/fcuny') diff --git a/users/fcuny/i3.nix b/users/fcuny/i3.nix index aa97cb8..7f5f793 100644 --- a/users/fcuny/i3.nix +++ b/users/fcuny/i3.nix @@ -17,4 +17,20 @@ combi-modi = "window,drun,ssh"; }; }; + + services.polybar = { + enable = true; + package = pkgs.polybarFull; + script = ""; + config = { + "bar/main" = { + background = "#000000"; + foreground = "#fafafa"; + }; + "module/pulseaudio" = { + type = "internal/pulseaudio"; + use-ui-max = false; + }; + }; + }; } -- cgit 1.4.1