waybar-sway-window(5) File Formats Manual waybar-sway-window(5) (NAME) waybar - sway (DESCRIPTION) window Sway . (CONFIGURATION) sway/window . format: : (string) : {title} . rotate: : (integer) ( ). max-length: : (integer) . min-length: : (integer) . align: : (float) 0 1 . . justify: : (string) 'left' 'right' 'center' . on-click: : (string) . on-click-middle: : (string) . on-click-right: : (string) . on-update: : (string) . on-scroll-up: : (string) . on-scroll-down: : (string) . smooth-scrolling-threshold: : (double) . tooltip: : (bool) : true (tooltip) . all-outputs: : (bool) : false (). offscreen-css: : (bool) : false all-outputs true . . offscreen-css-text: : (string) all-outputs offscreen-style true . . show-focused-workspace-name: : (bool) : false floating_nodes . . show-hidden-marks: : (bool) : false {marks} (_) . rewrite: : (object) . (REWRITE RULES) . icon: : (bool) : false . icon-size: : (integer) : 24 . expand: : (bool) : false . (FORMAT REPLACEMENTS) {title}: . {app_id}: (app_id) . {shell}: . xwayland 'xwayland' 'xdg-shell' . {marks}: () . (REWRITE RULES) rewrite (regex) . (captures) . ECMA-script . . ( ) . (EXAMPLES) "sway/window": { "format": "{}", "max-length": 50, "rewrite": { "(.*) - Mozilla Firefox": " $1", "(.*) - zsh": "> [$1]" } } (STYLE) o #window Waybar : o window#waybar.empty offscreen-css o window#waybar.solo (tiled) o window#waybar.floating o window#waybar.stacked stacked () o window#waybar.tabbed tabbed () o window#waybar.tiled splith splitv o window#waybar. app_id (instance chromium) 2026-08-31 waybar-sway-window(5)