From ac6c2a7d46603202be3a4f4d677f0be274d15e23 Mon Sep 17 00:00:00 2001 From: eplanet Date: Sat, 10 Nov 2018 10:47:05 +0100 Subject: Add timezone switch --- man/i3status.man | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'man/i3status.man') 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 = "time: %time" format_time = "%H:%M %Z" timezone = "Europe/Berlin" + only_when_tz_different = false } ------------------------------------------------------------- -- cgit v1.2.3