mirror of https://github.com/polybar/polybar.git
Page:
Module: memory
Pages
Compiling
Configuration
Debugging your Config
Distro Specific Setup
Fonts
Formatting
Home
Inter process messaging
Known Issues
Module: alsa
Module: backlight
Module: battery
Module: bspwm
Module: cpu
Module: date
Module: filesystem
Module: github
Module: i3
Module: ipc
Module: memory
Module: menu
Module: mpd
Module: network
Module: pulseaudio
Module: script
Module: temperature
Module: text
Module: xbacklight
Module: xkeyboard
Module: xwindow
Module: xworkspaces
Release Guidelines
Style Guide
Testing
User contributed modules
0
Module: memory
patrick96 edited this page 2022-03-02 14:00:36 +01:00
Table of Contents
This module shows information about the current memory usage.
Basic settings
[module/memory]
type = internal/memory
; Seconds to sleep between updates
; Default: 1
interval = 3
; Default: 90
; New in version 3.6.0
warn-percentage = 95
Additional formatting
; Available tags:
; <label> (default)
; <bar-used>
; <bar-free>
; <ramp-used>
; <ramp-free>
; <bar-swap-used>
; <bar-swap-free>
; <ramp-swap-used>
; <ramp-swap-free>
format = <label> <bar-used>
; Format used when RAM reaches warn-percentage
; If not defined, format is used instead.
; Available tags:
; <label-warn>
; <bar-used>
; <bar-free>
; <ramp-used>
; <ramp-free>
; <bar-swap-used>
; <bar-swap-free>
; <ramp-swap-used>
; <ramp-swap-free>
; New in version 3.6.0
;format-warn = <label-warn>
; Available tokens:
; %percentage_used% (default)
; %percentage_free%
; %used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %gb_used%
; %gb_free%
; %gb_total%
; %mb_used%
; %mb_free%
; %mb_total%
; %percentage_swap_used%
; %percentage_swap_free%
; %swap_total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %swap_free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %swap_used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %gb_swap_total%
; %gb_swap_free%
; %gb_swap_used%
; %mb_swap_total%
; %mb_swap_free%
; %mb_swap_used%
label = RAM %gb_used%/%gb_free%
; Available tokens:
; %percentage_used% (default)
; %percentage_free%
; %used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %gb_used%
; %gb_free%
; %gb_total%
; %mb_used%
; %mb_free%
; %mb_total%
; %percentage_swap_used%
; %percentage_swap_free%
; %swap_total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %swap_free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %swap_used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
; %gb_swap_total%
; %gb_swap_free%
; %gb_swap_used%
; %mb_swap_total%
; %mb_swap_free%
; %mb_swap_used%
; New in version 3.6.0
label-warn = RAM %gb_used%/%gb_free%
; Only applies if <bar-used> is used
bar-used-indicator =
bar-used-width = 50
bar-used-foreground-0 = #55aa55
bar-used-foreground-1 = #557755
bar-used-foreground-2 = #f5a70a
bar-used-foreground-3 = #ff5555
bar-used-fill = ▐
bar-used-empty = ▐
bar-used-empty-foreground = #444444
; Only applies if <ramp-used> is used
ramp-used-0 = ▁
ramp-used-1 = ▂
ramp-used-2 = ▃
ramp-used-3 = ▄
ramp-used-4 = ▅
ramp-used-5 = ▆
ramp-used-6 = ▇
ramp-used-7 = █
; Only applies if <ramp-free> is used
ramp-free-0 = ▁
ramp-free-1 = ▂
ramp-free-2 = ▃
ramp-free-3 = ▄
ramp-free-4 = ▅
ramp-free-5 = ▆
ramp-free-6 = ▇
ramp-free-7 = █
This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 🏠 Home
- ℹ️ Help
- ⚙️ Configuration
- 🎨 Formatting
- 🗛 Fonts
- 💥 Actions
- 🏗️ Compiling
- 🔧 Debugging your Config
- 💬 Inter process messaging
- 🤫 Known Issues
- 📦 Packaging Polybar
- For Developers:
- Modules: