nix-config/home/hyprland/waybar/dual.nix

43 lines
839 B
Nix
Raw Normal View History

2025-09-08 16:29:01 +02:00
let
common = import ./common.nix;
hyprland = import ./hyprland.nix;
in
2025-09-05 01:03:12 +02:00
{
enable = true;
settings = {
2025-09-08 16:29:01 +02:00
mainBar =
{
layer = "top";
position = "top";
height = 30;
output = [ "DP-1" ];
modules-left = [
"custom/nixicon"
"clock"
2025-09-05 01:03:12 +02:00
];
2025-09-08 16:29:01 +02:00
modules-center = [
"hyprland/workspaces"
2025-09-05 01:03:12 +02:00
];
2025-09-08 16:29:01 +02:00
modules-right = [
"group/hardware"
2025-09-05 01:03:12 +02:00
];
2025-09-08 16:29:01 +02:00
}
// 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;
2025-09-05 01:03:12 +02:00
};
}