summaryrefslogtreecommitdiff
path: root/.config/polybar/memory.ini
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/memory.ini')
-rw-r--r--.config/polybar/memory.ini71
1 files changed, 71 insertions, 0 deletions
diff --git a/.config/polybar/memory.ini b/.config/polybar/memory.ini
new file mode 100644
index 0000000..715be96
--- /dev/null
+++ b/.config/polybar/memory.ini
@@ -0,0 +1,71 @@
+[module/memory]
+type = internal/memory
+
+# Seconds to sleep between updates
+# Default: 1
+interval = 2
+
+# 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-prefix = " "
+format = <label>
+# format-prefix-foreground = ${colors.foreground-alt}
+format-underline = ${colors.cyan}
+
+# Available tokens:
+# %percentage_used% (default)
+# %percentage_free%
+# %gb_used%
+# %gb_free%
+# %gb_total%
+# %mb_used%
+# %mb_free%
+# %mb_total%
+# %percentage_swap_used%
+# %percentage_swap_free%
+# %mb_swap_total%
+# %mb_swap_free%
+# %mb_swap_used%
+# %gb_swap_total%
+# %gb_swap_free%
+# %gb_swap_used%
+label = %percentage_used:2%%
+
+# Only applies if <bar-used> is used
+bar-used-indicator =
+bar-used-width = 20
+bar-used-foreground-0 = ${colors.green}
+bar-used-foreground-1 = ${colors.green}
+bar-used-foreground-2 = ${colors.yellow}
+bar-used-foreground-3 = ${colors.red}
+bar-used-fill = ▐
+bar-used-empty = ▐
+bar-used-empty-foreground = ${colors.black-alt}
+
+# 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 = █