waybar-memory(5)
β¨ waybar-memory(5) β¨
okay bestie, this is the memory module for waybar, and it lives in the File Formats Manual section of the docs. yes it's a man page. no it's not boring. let's go π«Ά
π NAME π
waybar β the memory module, babe. that's it, that's the name.
πΈ DESCRIPTION πΈ
The memory module displays the current memory utilization. literally just vibes β how much of your RAM is currently in use. slay. π
β¨ CONFIGURATION β¨
You address this module by memory. put that in your config, bestie, or nothing happens.
intervalβ typeof: integer, default:30. The interval in which the information gets polled. so likeβ¦ how often it checks in on your memory. every 30 seconds by default. patient queen. β°formatβ typeof: string, default:{percentage}%. The format, how information should be displayed. this is where you decide what the label actually says. πformat-iconsβ typeof: array/object. Based on the current percentage, the corresponding icon gets selected. The order is low to high. Or by the state if it is an object. so array = low-to-high icon ladder, object = keyed by state. both valid, both iconic. πrotateβ typeof: integer. Positive value to rotate the text label (in 90 degree increments). yes you can turn it sideways. main character angle. πstatesβ typeof: object. A number of memory utilization states which get activated on certain percentage thresholds. Seewaybar-states(5)for the deets. π¦max-lengthβ typeof: integer. The maximum length in character the module should display. it will not go past this, no matter how loud the number is. βοΈmin-lengthβ typeof: integer. The minimum length in characters the module should accept. β¨alignβ typeof: float. The alignment of the label within the module, where0is left-aligned and1is right-aligned. If the module is rotated, it will follow the flow of the text. βοΈjustifyβ typeof: string. The alignment of the text within the module's label, allowing options'left','right', or'center'to define the positioning. π―on-clickβ typeof: string. Command to execute when clicked on the module. πon-click-middleβ typeof: string. Command to execute when middle-clicked on the module using mousewheel. π±οΈon-click-rightβ typeof: string. Command to execute when you right-click on the module. π±οΈon-updateβ typeof: string. Command to execute when the module is updated. πon-scroll-upβ typeof: string. Command to execute when scrolling up on the module. β¬οΈon-scroll-downβ typeof: string. Command to execute when scrolling down on the module. β¬οΈsmooth-scrolling-thresholdβ typeof: double. Threshold to be used when scrolling. keeps the scroll chill and not all over the place. πtooltipβ typeof: bool, default:true. Option to disable tooltip on hover. yes it defaults to on. yes you can turn the little hover popup off. π¬menuβ typeof: string. Action that popups the menu. πmenu-fileβ typeof: string. Location of the menu descriptor file. There need to be an element of typeGtkMenuwith idmenu. don't skip that part, it's required fr fr. πmenu-actionsβ typeof: array. The actions corresponding to the buttons of the menu. ποΈexpandβ typeof: bool, default:false. Enables this module to consume all left over space dynamically. greedy little module. love that for it. π«Ά
π¦ FORMAT REPLACEMENTS π¦
these are the little {thing} tokens you drop into your format. the good stuff:
{percentage}β Percentage of memory in use. π{swapPercentage}β Percentage of swap in use. π{total}β Amount of total memory available in GiB. π¦{swapTotal}β Amount of total swap available in GiB. π¦{used}β Amount of used memory in GiB. π₯{swapUsed}β Amount of used swap in GiB. π₯{avail}β Amount of available memory in GiB. β{swapAvail}β Amount of available swap in GiB. β{swapState}β Signals if swap is activated or not. π¨
β EXAMPLES β
the classic setup, no cap:
"memory": {
"interval": 30,
"format": "{}% ",
"max-length": 10
}
π FORMATTED MEMORY VALUES π
want decimals? want it to look like a lil stat readout? say less:
"memory": {
"interval": 30,
"format": "{used:0.1f}G/{total:0.1f}G "
}
π STYLE π
#memory
one selector. that's all you need to style it. go off. π
reminder bestie: every token, every option, every default up there is exactly as written. no renames, no merges, no invented flags. i would never do that to you. π
that's the whole page, and it's from waybar-memory(5), dated 2026-02-08. go check your RAM, queen. πβ¨π¦
π¦ 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