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

40 lines
786 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;
/*
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"
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 = [
"custom/weather"
"group/hardware"
2025-09-05 01:03:12 +02:00
];
2025-09-08 16:29:01 +02:00
# Widget configurations
}
// common.widgets
// hyprland.widgets;
2025-09-05 01:03:12 +02:00
};
}