summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-07-21 18:13:32 +0200
committerMartin Perner <martin@perner.cc>2011-07-21 18:27:40 +0200
commit4c1a6b350095e671eea5a4963e6b82997c5098fc (patch)
tree14d8068afb63cca955af6787ea47c7fcb3ee2c5f /README
parent5d5b4a4d7e07d20eec62b5650df5d55807741a4c (diff)
downloadxmobar-4c1a6b350095e671eea5a4963e6b82997c5098fc.tar.gz
xmobar-4c1a6b350095e671eea5a4963e6b82997c5098fc.tar.bz2
DateZone: Added plugin for localized date
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 14 insertions, 0 deletions
diff --git a/README b/README
index 2253c1f..626130d 100644
--- a/README
+++ b/README
@@ -124,6 +124,10 @@ Otherwise, you'll need to install them yourself.
: Support for ALSA sound cards. Enables the Volume plugin. Requires the
[alsa-mixer] package.
+`with_datezone`
+: Support for localized times. Enables the DateZone plugin. Requires
+ [timezone-olson] and [timezone-series] package.
+
`all_extensions`
: Enables all the extensions above.
@@ -846,6 +850,16 @@ can be used in the output template as `%mydate%`
`strftime` function (or Haskell's `formatCalendarTime`).
- Sample usage: `Run Date "%a %b %_d %Y <fc=#ee9a00>%H:%M:%S</fc>" "date" 10`
+`Date Format Alias Zone RefreshRate`
+
+- Format is a time format string, as accepted by the standard ISO C
+ `strftime` function (or Haskell's `formatCalendarTime`).
+- Zone is the name of the TimeZone. Assumes that the tz database is stored in
+ /usr/share/zoneinfo/
+- Sample usage:
+ `Run DateZone "<fc=#ee9a00>%H:%M:%S</fc>" "viennaDate" "Europa/Vienna" 10`
+
+
`CommandReader "/path/to/program" Alias`
- Runs the given program, and displays its standard output.