diff options
author | Cyril Andreatta <cyril@andreatta.ch> | 2014-10-07 16:14:16 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2014-10-07 18:52:02 +0200 |
commit | f817e3b4c085a13d876968af499973b4349ef4f6 (patch) | |
tree | 804c619ec869837a9c62a06559a514e9b11a00d1 | |
parent | 8e22f3839ddafcc434bc63f0b6483fb570150883 (diff) |
Updated the man page for i3status with information about the new individual strings that can be used for each battery status.
-rw-r--r-- | man/i3status.man | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man index 27a76ed..504cf16 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -74,6 +74,9 @@ ethernet eth0 { battery 0 { format = "%status %percentage %remaining %emptytime" format_down = "No battery" + status_chr = "⚇ CHR"" + status_bat = "⚡ BAT" + status_full = "☻ FULL" path = "/sys/class/power_supply/BAT%d/uevent" low_threshold = 10 } @@ -309,12 +312,25 @@ colored red. The low_threshold type can be of threshold_type "time" or "percentage". So, if you configure low_threshold to 10 and threshold_type to "time", and your battery lasts another 9 minutes, it will be colored red. +Optionally custom strings including any UTF-8 symbols can be used for different +battery states. This makes it possible to display individual symbols +for each state (charging, discharging, full) +Of course it will also work with special iconic fonts, such as FontAwesome. +If any of this special status strings is omitted, the default (CHR, BAT, FULL) +is used. + *Example order*: +battery 0+ *Example format*: +%status %remaining (%emptytime %consumption)+ *Example format_down*: +No battery+ +*Example status_chr*: +⚇ CHR+ + +*Example status_bat*: +⚡ BAT+ + +*Example status_full*: +☻ FULL+ + *Example low_threshold*: +30+ *Example threshold_type*: +time+ |