nix-config/home/hyprland/waybar/single.nix
2025-09-08 16:29:01 +02:00

40 lines
786 B
Nix

let
common = import ./common.nix;
hyprland = import ./hyprland.nix;
in
{
enable = true;
settings = {
mainBar =
{
layer = "top";
position = "top";
height = 30;
/*
Waybar should use every display available if not output is specified
output = [
"eDP-1"
"DP-1"
"HDMI-A-1"
"Virtual-1"
];
*/
modules-left = [
"custom/nixicon"
"clock"
"group/media"
];
modules-center = [
"hyprland/workspaces"
];
modules-right = [
"custom/weather"
"group/hardware"
];
# Widget configurations
}
// common.widgets
// hyprland.widgets;
};
}