summaryrefslogtreecommitdiff
path: root/i3status.conf
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2018-05-19 22:08:42 +0200
committerGitHub <noreply@github.com>2018-05-19 22:08:42 +0200
commitb850f5852d0e455c246827a603ac28577a70428d (patch)
tree81530fd72f1d81d80e4d960d9009a857e55a59a6 /i3status.conf
parentffe41cc9440d0404101dae9420f91d2e0cdf3468 (diff)
parentcba8f559384008f187e7388186b9885343be0678 (diff)
Merge pull request #270 from Stunkymonkey/mem-support
initial support of memory-usage for linux
Diffstat (limited to 'i3status.conf')
-rw-r--r--i3status.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/i3status.conf b/i3status.conf
index 7f37964..07ffb74 100644
--- a/i3status.conf
+++ b/i3status.conf
@@ -17,6 +17,7 @@ order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "load"
+order += "memory"
order += "tztime local"
wireless _first_ {
@@ -42,6 +43,12 @@ load {
format = "%1min"
}
+memory {
+ format = "%used | %available"
+ threshold_degraded = "1G"
+ format_degraded = "MEMORY < %available"
+}
+
disk "/" {
format = "%avail"
}