{ programs.waybar = { enable = true; systemd.enable = true; settings = { mainBar = { layer = "top"; position = "top"; height = 18; spacing = 2; output = [ "DP-1" ]; modules-left = [ "sway/workspaces" "sway/mode" "sway/scratchpad" "sway/window" "custom/media" ]; modules-center = [ "clock" "idle_inhibitor" ]; modules-right = [ "pulseaudio" "backlight" "network" "tray" "custom/notification" "custom/power" ]; "sway/scratchpad" = { format = "{icon} {count}"; show-empty = false; format-icons = ["" ""]; tooltip = true; tooltip-format = "{app}: {title}"; }; "backlight" = { device = "ddcci6"; format = "{percent}% {icon}"; format-icons = [ "" "" "" "" "" "" ""]; }; "clock" = { format = "{:%d. %B | %H:%M}"; tooltip-format = "{:%Y %B}\n{calendar}"; format-alt = "{: KW %OV, %A, %d. %B %Y | %H:%M}"; calendar = { mode = "year"; mode-mon-col = 3; weeks-pos = "right"; on-scroll = 1; on-click-right = "mode"; format = { months = "{}"; days = "{}"; weeks = "W{}"; weekdays = "{}"; today = "{}"; }; }; "actions" = { on-click-right = "mode"; on-click-forward = "tz_up"; on-click-backward = "tz_down"; on-scroll-up = "shift_up"; on-scroll-down = "shift_down"; }; }; "tray" = { icon-size = 16; spacing = 2; }; }; }; }; }