summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorRoman Joost <roman@bromeco.de>2015-03-13 11:11:11 +1000
committerRoman Joost <roman@bromeco.de>2015-05-01 11:31:17 +1000
commit1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2 (patch)
tree1f2c117fad384717f4f970938d7625ee1d3724e2 /readme.md
parentd4634e681a123d57a76312b1b65f44172e44266c (diff)
downloadxmobar-1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2.tar.gz
xmobar-1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2.tar.bz2
uvmeter: new plugin showing UV data (Australia)
This patch adds a new optional plugin showing UV data for Australian users. The data is aquired by simple HTTP request from the Australian Radiation Protection and Nuclear Safety Agencies XML data feed. The uvmeter plugin can be configured ovserving multiple different station across the country. The alias now defaults to 'uv <stationid>'.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 7ecea56..7f1be52 100644
--- a/readme.md
+++ b/readme.md
@@ -157,6 +157,9 @@ Otherwise, you'll need to install them yourself.
: Support for xpm image file format. This will allow loading .xpm files in `<icon>`.
Requires the [libXpm] C library.
+`with_uvmeter`
+: Enables UVMeter plugin. The plugin shows UV data for Australia.
+
`all_extensions`
: Enables all the extensions above.
@@ -1243,6 +1246,20 @@ more than one battery.
Run CatInt 0 "/sys/devices/platform/thinkpad_hwmon/fan1_input" [] 50
+### `UVMeter`
+
+- Aliases to "uv " + station id. For example: `%uv brisbane%` or `%uv
+ alice springs%`
+- Args: default monitor arguments.
+
+- *Reminder:* Keep the refresh rate high, to avoid making unnecessary
+ requests every time the plug-in is run.
+- Station IDs can be found here:
+ http://www.arpansa.gov.au/uvindex/realtime/xml/uvvalues.xml
+- Example:
+
+ Run UVMeter "brisbane" ["-H", "3", "-L", "3", "--low", "green", "--high", "red"] 900
+
## Executing External Commands
In order to execute an external command you can either write the