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
andformat-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! ๐