about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 08:50:52 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 08:50:52 -0800
commitf4c4c9d0561ae1346fd7e7d19c387fd81d80a238 (patch)
treea26b230d6bd047e7d62cbd2cfe0fdc39747a743e
parenthome-manager: add tmux configuration (diff)
downloadworld-f4c4c9d0561ae1346fd7e7d19c387fd81d80a238.tar.gz
home-manager: add polybar to i3
-rw-r--r--users/fcuny/i3.nix16
1 files changed, 16 insertions, 0 deletions
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;
+      };
+    };
+  };
 }