{ config, pkgs, lib, ... }: { programs.waybar = { enable = true; systemd.enable = true; settings = [{ layer = "top"; position = "top"; height = 30; modules-left = [ "sway/workspaces" ]; modules-right = [ "custom/clock" ]; modules = { "sway/workspaces" = { disable-scroll = true; all-outputs = true; }; "clock" = { interval = 30; format = "{%D %M %Y %H:%M}"; }; }; }]; style = '' * { border: none; border-radius: 0; font-size: 15px; min-height: 0; margin: 2px; font-weight: normal; } ''; }; }