Polybar Modules memory - ulises-jeremias/dotfiles GitHub Wiki

๐Ÿง  Polybar Module: Memory

The Memory module displays real-time statistics about your systemโ€™s RAM usage. Itโ€™s a simple yet essential module to help you monitor memory consumption at a glance.

[!TIP] Great for keeping tabs on memory-intensive workflows, especially when multitasking or debugging.


๐Ÿ“Š Displayed Information

  • Total Memory: The total available memory on your system
  • Used Memory: The amount currently in use
  • Usage Percentage: A live percentage calculated as (Used / Total) * 100

โš™๏ธ Configuration Example

[module/memory]
type = internal/memory
interval = 5
format = ๏ƒ‰  %used% / %total% (%percentage%%)
format-underline = #6c71c4

[!TIP] Icons like ๏ƒ‰ can be swapped based on your font (e.g., Nerd Fonts).


โœ… Requirements

  • No additional dependencies required โ€” this is a built-in Polybar module
  • Works out of the box with Linux systems that expose /proc/meminfo

๐ŸŽจ Customization Tips

  • Use format-prefix and format-suffix to add context or emojis
  • Combine with a temperature or CPU module for a complete resource view
  • Adjust interval to control how often memory data is refreshed

Keep your resource usage in check and optimize your system performance with this lightweight monitor! ๐Ÿ“ˆ