From 0c4daf1bcb9373479ac99767ee0dcb649e248f25 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 25 Aug 2024 17:47:30 +0100 Subject: new template variable weatherS for WeatherX --- doc/plugins.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc') 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: -- cgit v1.2.3