yambar-modules-mem(5)

πŸ’– NAME πŸ’–

okay so bestie, welcome to yambar-modules-mem(5) β€” this is from the File Formats Manual, and the module is called mem. Its whole job? This module provides the memory usage. That’s the vibe. 🫢✨


✨ TAGS ✨

these are the tags it gives you, with their exact types and meanings:

  • free β€” type: int; Free memory in bytes πŸ’š
  • used β€” type: int; Used memory in bytes πŸ”₯
  • total β€” type: int; Total memory in bytes πŸ‘‘
  • percent_free β€” type: range; Free memory in percent 🌸
  • percent_used β€” type: range; Used memory in percent πŸ’…

πŸŽ€ CONFIGURATION πŸŽ€

there’s literally one config field, and here are all its details, no cap:

  • poll-interval β€” type: string; required: no. Refresh interval of the memory usage stats in milliseconds (default=500). Cannot be less then 250ms. β³πŸ’€
okay so poll-interval is the only knob here. The default is 500 ms, and the page says β€œCannot be less then 250ms” β€” keeping that exact wording, bestie. πŸ™ˆ

🌈 EXAMPLES 🌈

here’s the example, exactly as the page has it:

           bar:
             left:
               - mem:
                   poll-interval: 2500
                   content:
                     string: {text: "{used:mb}MB"}

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this page is source/version: File Formats Manual, date: 2024-04-22, and page: yambar-modules-mem(5). bye bestie, go check your memory usage and slay 🫢✨

πŸ“¦ where this page comes from