diff --git a/_site/content/posts/modules/prettyweather.md b/_site/content/posts/modules/prettyweather.md index 4e585496..3a11fe8f 100644 --- a/_site/content/posts/modules/prettyweather.md +++ b/_site/content/posts/modules/prettyweather.md @@ -43,7 +43,8 @@ None. ### Attributes `city`
-_Optional_.
+_Optional_. It will grab the current location from your IP address if +omitted.
Values: The name of any city supported by [Wttr.in](http://wttr.in). `enabled`
@@ -58,6 +59,6 @@ How often, in seconds, this module will update its data.
Values: A positive integer, `0..n`. `unit`
-_Optional_.
+_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. diff --git a/docs/index.xml b/docs/index.xml index 23cc41a0..ccf66010 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -21,9 +21,10 @@ 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. Values: The name of any city supported by Wttr.in. +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. +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. refreshInterval How often, in seconds, this module will update its data. +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 2e59fdfd..5626986c 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -21,9 +21,10 @@ 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. Values: The name of any city supported by Wttr.in. +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. +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. refreshInterval How often, in seconds, this module will update its data. +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 dd98f5eb..2502de3e 100644 --- a/docs/posts/modules/prettyweather/index.html +++ b/docs/posts/modules/prettyweather/index.html @@ -142,7 +142,8 @@

Attributes

city
-Optional.
+Optional. It will grab the current location from your IP address if +omitted.
Values: The name of any city supported by Wttr.in.

enabled
@@ -157,7 +158,7 @@ How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.

unit
-Optional.
+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.