summaryrefslogtreecommitdiff
path: root/man/i3status.man
diff options
context:
space:
mode:
authoreplanet <emeric.planet@gmail.com>2018-11-10 10:47:05 +0100
committereplanet <emeric.planet@gmail.com>2018-11-10 10:47:05 +0100
commitac6c2a7d46603202be3a4f4d677f0be274d15e23 (patch)
tree227f6a1e32507a3c5de26f8644acab88a5736570 /man/i3status.man
parent2d38178063d13dd3a1e477dadb31ebad53a2a471 (diff)
Add timezone switch
Diffstat (limited to 'man/i3status.man')
-rw-r--r--man/i3status.man4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index 7d27ae3..b3f71bf 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -97,6 +97,7 @@ path_exists VPN {
tztime local {
format = "%Y-%m-%d %H:%M:%S"
+ only_when_tz_different = true
}
tztime berlin {
@@ -514,6 +515,8 @@ Files below that path make for valid timezone strings, e.g. for
+/usr/share/zoneinfo/Europe/Berlin+ you can set timezone to +Europe/Berlin+
in the +tztime+ module.
To override the locale settings of your environment, set the +locale+ option.
+To display time only when the timezone is different from local timezone, set
++only_when_tz_different+ to true.
*Example order*: +tztime berlin+
@@ -533,6 +536,7 @@ tztime berlin {
format = "<span foreground='#ffffff'>time:</span> %time"
format_time = "%H:%M %Z"
timezone = "Europe/Berlin"
+ only_when_tz_different = false
}
-------------------------------------------------------------