waybar-sway-scratchpad(5)
β¨ waybar-sway-scratchpad β¨
okay bestie, so this is the manual page for waybar-sway-scratchpad β it lives in section 5 of the File Formats Manual and it's literally all about the sway scratchpad module for waybar. yes, the one that tells you what's chilling in your scratchpad. iconic. π
πΈ NAME πΈ
waybar β the sway scratchpad module. that's it. that's the whole name. short, sweet, slaying. π
π¦ DESCRIPTION π¦
the scratchpad module displays the scratchpad status in Sway. it's giving "hey bestie, here's what's hiding in your scratchpad right now". no cap. β¨
π CONFIGURATION π
this whole module gets addressed by sway/scratchpad. so that's your key in the config, got it? π«Ά
formatβ typeof:string, default:{icon} {count}. this is the format, aka how the info should be displayed. you decide the vibe of the readout. β¨show-emptyβ typeof:bool, default:false. the option to show the module even when the scratchpad is empty. so like, do you want it visible when there's nothing in there? your call. πformat-iconsβ typeof:array/object. based on the current scratchpad window counts, the corresponding icon gets selected. so more windows = different icon, basically a lil vibe check per count. πtooltipβ typeof:bool, default:true. the option to disable the tooltip on hover. turn it off if the hover popup isn't your main character energy. πtooltip-formatβ typeof:string, default:{app}: {title}. the format, aka how the info inside the tooltip should be displayed. πmenuβ typeof:string. the action that popups the menu. yes, it really says "popups". we love her. πmenu-fileβ typeof:string. location of the menu descriptor file. there needs to be an element of typeGtkMenuwith idmenuin there, bestie β don't forget that part or it's not gonna work. πmenu-actionsβ typeof:array. the actions corresponding to the buttons of the menu. one per button, matching up like a little buddy system. π§expandβ typeof:bool, default:false. enables this module to consume all leftover space dynamically. she's HUNGRY. she wants the whole bar. π
β FORMAT REPLACEMENTS β
these are the little magic words you can drop into your formats, and they get swapped out for real info:
{icon}β the icon, as defined informat-icons.{count}β number of windows in the scratchpad.{app}β name of the application in the scratchpad.{title}β title of the application in the scratchpad.
periodt. π
π₯ EXAMPLES π₯
here's a whole config block, copy it exactly if you want, it's literally free:
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
}
ate. no crumbs. π
π STYLE π
the CSS selectors you can style, bestie:
#scratchpad#scratchpad.empty
go off with the colors, queen. π
fr fr that's the whole page, nothing skipped, nothing invented. every flag, every default, every replacement token β all here. iykyk. π«Ά
later bestie!! this was written from the File Formats Manual, waybar-sway-scratchpad(5), dated 2026-02-08 β go forth and scratchpad responsibly. β¨ππΈ
π¦ where this page comes from
- ubuntu resolute: waybar 0.15.0-1 Β· MIT
- ubuntu stonking: waybar 0.15.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms