diff --git a/_site/content/posts/modules/prettyweather.md b/_site/content/posts/modules/prettyweather.md index 39a08e4b..1f748a32 100644 --- a/_site/content/posts/modules/prettyweather.md +++ b/_site/content/posts/modules/prettyweather.md @@ -38,6 +38,7 @@ None. width: 1 refreshInterval: 300 unit: "c" + view: 0 ``` ### Attributes @@ -62,3 +63,7 @@ Values: A positive integer, `0..n`. _Optional_. It will use metric if you are out of US and imperial for US.
The temperature scale in which to display temperature values.
Values: `F` for Fahrenheit, `C` for Celcius. + +`view`
+_Optional_ Wttr.in view configuration.
+Values: See `curl wttr.in/:help` for more details. diff --git a/docs/index.xml b/docs/index.xml index 6a7a539d..a86b5ce2 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -57,7 +57,7 @@ position Defines where in the grid this module’s widget will be displa Displays weather information as ASCII art from Wttr.in. Source Code wtf/prettyweather/ Required ENV Variables None. Keyboard Commands None. -Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c" Attributes city Optional. It will grab the current location from your IP address if omitted. +Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0 Attributes city Optional. It will grab the current location from your IP address if omitted. Values: The name of any city supported by Wttr.in. enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 9bbfb945..2dc5ba0f 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -57,7 +57,7 @@ position Defines where in the grid this module’s widget will be displa Displays weather information as ASCII art from Wttr.in. Source Code wtf/prettyweather/ Required ENV Variables None. Keyboard Commands None. -Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c" Attributes city Optional. It will grab the current location from your IP address if omitted. +Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0 Attributes city Optional. It will grab the current location from your IP address if omitted. Values: The name of any city supported by Wttr.in. enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. diff --git a/docs/posts/modules/prettyweather/index.html b/docs/posts/modules/prettyweather/index.html index ae600a73..d6bd7e91 100644 --- a/docs/posts/modules/prettyweather/index.html +++ b/docs/posts/modules/prettyweather/index.html @@ -140,7 +140,8 @@ height: 1 width: 1 refreshInterval: 300 - unit: "c" + unit: "c" + view: 0

Attributes

city
@@ -164,6 +165,10 @@ Values: A positive integer, 0..n.

The temperature scale in which to display temperature values.
Values: F for Fahrenheit, C for Celcius.

+

view
+Optional Wttr.in view configuration.
+Values: See curl wttr.in/:help for more details.

+