forked from autowolf/nix
initial
This commit is contained in:
commit
252814b193
20 changed files with 1531 additions and 0 deletions
28
modules/waybar/default.nix
Normal file
28
modules/waybar/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 20;
|
||||
|
||||
# left
|
||||
modules-left = ["privacy" "clock" "hyprland" "taskbar"];
|
||||
|
||||
# center
|
||||
modules-center = ["mpris" "cava" "pulseaudio"];
|
||||
|
||||
# right
|
||||
modules-right = ["network" "bluetooth" "battery" "upower"];
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
style = pkgs.writeTextFile {
|
||||
name = "style.css";
|
||||
text = builtins.readFile ./style.css;
|
||||
};
|
||||
};
|
||||
}
|
||||
0
modules/waybar/style.css
Normal file
0
modules/waybar/style.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue