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

43 lines
839 B
Nix

let
common = import ./common.nix;
hyprland = import ./hyprland.nix;
in
{
enable = true;
settings = {
mainBar =
{
layer = "top";
position = "top";
height = 30;
output = [ "DP-1" ];
modules-left = [
"custom/nixicon"
"clock"
];
modules-center = [
"hyprland/workspaces"
];
modules-right = [
"group/hardware"
];
}
// common.widgets
// hyprland.widgets;
secondBar =
{
layer = "top";
position = "top";
height = 30;
output = [ "HDMI-A-2" ];
modules-left = [ "group/media" ];
modules-center = [ "hyprland/workspaces" ];
modules-right = [ "custom/weather" ];
}
// common.widgets
// hyprland.widgets;
};
}