diff options
author | eplanet <emeric.planet@gmail.com> | 2016-08-16 09:29:08 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-08-16 00:29:08 -0700 |
commit | fde5ebfa1e5132bf33957ace30c70263038391ad (patch) | |
tree | 1eb9b43f4c952edb9621d7562ced7cf26e25977f /man/i3status.man | |
parent | 7ce0044a03f94b2b0707b087ebb9de78c1d09874 (diff) |
Print empty string for not mounted disks. (#148)
An empty string becomes the default value for format_not_mounted parameter
for any disk entry. This avoids printing erroneous values when a
filesystem is not mounted.
Diffstat (limited to 'man/i3status.man')
-rw-r--r-- | man/i3status.man | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/man/i3status.man b/man/i3status.man index 32bc6e6..d0ca2a0 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -249,9 +249,7 @@ is assumed to be "percentage_avail" and low_threshold to be set to 0, which implies no coloring at all. You can define a different format with the option "format_not_mounted" -which is used if the path does not exist or is not a mount point. So you can just empty -the output for the given path with adding +format_not_mounted=""+ -to the config section. +which is used if the path does not exist or is not a mount point. Defaults to "". *Example order*: +disk /mnt/usbstick+ |