waybar split in files

This commit is contained in:
2026-06-16 23:30:29 +02:00
parent 6ff3e03029
commit 146fad0ce6
15 changed files with 280 additions and 246 deletions

View 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 = "|";
};
};
}