waybar split in files
This commit is contained in:
35
homeConfigs/global/wayland/waybar/waybar.nix
Normal file
35
homeConfigs/global/wayland/waybar/waybar.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.waybar.enable = true;
|
||||
programs.waybar.settings.mainBar = {
|
||||
layer = "top";
|
||||
position ="top";
|
||||
height = 24;
|
||||
margin-left = 5;
|
||||
margin-right = 5;
|
||||
modules-left = ["hyprland/workspaces" "custom/music"];
|
||||
modules-center = ["hyprland/window"];
|
||||
modules-right = [
|
||||
"disk"
|
||||
"pulseaudio"
|
||||
"cpu"
|
||||
"temperature"
|
||||
"memory"
|
||||
"battery"
|
||||
|
||||
"network"
|
||||
"custom/separator"
|
||||
"clock"
|
||||
];
|
||||
|
||||
"hyprland/window" = {
|
||||
max-length = 50;
|
||||
};
|
||||
|
||||
"custom/separator" = {
|
||||
format = "|";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user