summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMats <d912e3@gmail.com>2013-12-05 22:12:17 +0100
committerMichael Stapelberg <michael@stapelberg.de>2013-12-10 21:18:14 +0100
commit596f2264f4bc3d50da425873a7941b4de99afcb8 (patch)
treed13fe8635b85515f40bb4d8033f7c802258aff80 /man
parent717484184f6e8a3bb38f50cc6fbe4fbfb3544cd9 (diff)
disk: Distinguish between IEC, SI and custom prefixes
* IEC: Ki, Mi, Gi, Ti (powers of 1024) * SI: k, M, G, T (powers of 1000) * custom: K, M, G, T (powers of 1024)
Diffstat (limited to 'man')
-rw-r--r--man/i3status.man14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index e18dbc7..88cb572 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -184,12 +184,26 @@ Gets used, free, available and total amount of bytes on the given mounted filesy
These values can also be expressed in percentages with the percentage_used,
percentage_free, percentage_avail and percentage_used_of_avail formats.
+Byte sizes are presented in a human readable format using a set of prefixes
+whose type can be specified via the "prefix_type" option. Three sets of
+prefixes are available:
+
+binary::
+IEC prefixes (Ki, Mi, Gi, Ti) represent multiples of powers of 1024.
+This is the default.
+decimal::
+SI prefixes (k, M, G, T) represent multiples of powers of 1000.
+custom::
+The custom prefixes (K, M, G, T) represent multiples of powers of 1024.
+
*Example order*: +disk /mnt/usbstick+
*Example format*: +%free (%avail)/ %total+
*Example format*: +%percentage_used used, %percentage_free free, %percentage_avail avail+
+*Example prefix_type*: +custom+
+
=== Run-watch
Expands the given path to a pidfile and checks if the process ID found inside