diff options
author | jao <jao@gnu.org> | 2024-08-25 17:47:30 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2024-08-25 17:47:30 +0100 |
commit | 0c4daf1bcb9373479ac99767ee0dcb649e248f25 (patch) | |
tree | 50765c78b34c7375270a28934a23a0d108fe680a /doc | |
parent | 42630b2973cd624fceb33ae442dea4bf565ee5b1 (diff) | |
download | xmobar-0c4daf1bcb9373479ac99767ee0dcb649e248f25.tar.gz xmobar-0c4daf1bcb9373479ac99767ee0dcb649e248f25.tar.bz2 |
new template variable weatherS for WeatherX
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins.org | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/plugins.org b/doc/plugins.org index 7453d4b..21a9452 100644 --- a/doc/plugins.org +++ b/doc/plugins.org @@ -1268,9 +1268,11 @@ - Works in the same way as =Weather=, but takes an additional argument, a list of pairs from sky conditions to their replacement (typically a unicode string or an icon specification). - - Use the variable =skyConditionS= to display the replacement of the - corresponding sky condition. All other =Weather= template variables - are available as well. + - Use the variable =skyConditionS= or =weatherS= to display the replacement of + the corresponding sky condition. =weatherS= uses the string returned by + =weather= to look up a replacement, and, if that one is not found, it + looks up the value of =skyConditionS=. All other =Weather= template + variables are available as well. For example: |