polybar: Add basic setup of polybar
This commit is contained in:
parent
3a367e9f4f
commit
3dec08779d
2 changed files with 198 additions and 0 deletions
19
home/alex/services/polybar/default.nix
Normal file
19
home/alex/services/polybar/default.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue