diff options
| author | jao <jao@gnu.org> | 2011-07-23 07:47:50 -0700 | 
|---|---|---|
| committer | jao <jao@gnu.org> | 2011-07-23 07:47:50 -0700 | 
| commit | 6d438380213aaf903164ff6fa89dd768facb9bd5 (patch) | |
| tree | 14d8068afb63cca955af6787ea47c7fcb3ee2c5f /README | |
| parent | 5d5b4a4d7e07d20eec62b5650df5d55807741a4c (diff) | |
| parent | 4c1a6b350095e671eea5a4963e6b82997c5098fc (diff) | |
| download | xmobar-6d438380213aaf903164ff6fa89dd768facb9bd5.tar.gz xmobar-6d438380213aaf903164ff6fa89dd768facb9bd5.tar.bz2  | |
Merge pull request #19 from skinner33/dateZone
DateZone: Added plugin for localized date
Diffstat (limited to 'README')
| -rw-r--r-- | README | 14 | 
1 files changed, 14 insertions, 0 deletions
@@ -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.  | 
