polybar: Add basic setup of polybar

This commit is contained in:
Alexander Kobjolke 2024-02-15 22:03:18 +01:00
parent 3a367e9f4f
commit 3dec08779d
2 changed files with 198 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
let
mypolybar = pkgs.polybar.override {
alsaSupport = true;
mpdSupport = true;
pulseSupport = true;
};
in {
home.packages = with pkgs; [ font-awesome material-design-icons ];
services.polybar = {
enable = true;
package = mypolybar;
config = ./config.ini;
script = ''
polybar & disown
'';
};
}