summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2018-11-17 16:28:38 +0100
committerGitHub <noreply@github.com>2018-11-17 16:28:38 +0100
commita84ad18fbfe2fa8d9280ca0ad3d131d9fd067afb (patch)
treeb60d4c797e305fabd2213f93b244567e37e2beef /man
parent2d38178063d13dd3a1e477dadb31ebad53a2a471 (diff)
parent1b7501b7ea561404b2dd27297a4ccd7432db46f4 (diff)
Merge pull request #321 from eplanet/autodisplay-tz
Add timezone switch
Diffstat (limited to '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..cc363f5 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"
+ hide_if_equals_localtime = 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 set timezone has different time from localtime, set
++hide_if_equals_localtime+ 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"
+ hide_if_equals_localtime = true
}
-------------------------------------------------------------