diff --git a/home/modules/waybar.nix b/home/modules/waybar.nix index 0ff6b50..1bb2b4d 100644 --- a/home/modules/waybar.nix +++ b/home/modules/waybar.nix @@ -2,31 +2,30 @@ programs.waybar = { enable = true; - settings = { + settings = { + mainBar = { + layer = "top"; + position = "top"; + height = 20; - mainBar = { - layer = "top"; - position = "top"; - height = 20; + output = [ + "DVI-I-1" + "HDMI-0" + ]; + }; - output = [ - "DVI-I-1" - "HDMI-0" - ]; - }; + modules-left = ["niri/workspaces"]; + modules-right = ["clock"]; - modules-left = ["niri/workspaces"]; - modules-right = ["clock"]; + "niri/workspaces" = { + disable-scroll = true; + all-outputs = true; + }; - "niri/workspaces" = { - disable-scroll = true; - all-outputs = true; - }; - - "clock" = { - interval = 1; - format = "{:%H:%M}  "; - } - }; + "clock" = { + interval = 1; + format = "{:%H:%M}  "; + }; + }; }; }