mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Documentation for 'view' option in PrettyWeather
This commit is contained in:
parent
25c2ae9335
commit
ef489831a9
@ -38,6 +38,7 @@ None.
|
|||||||
width: 1
|
width: 1
|
||||||
refreshInterval: 300
|
refreshInterval: 300
|
||||||
unit: "c"
|
unit: "c"
|
||||||
|
view: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Attributes
|
### 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.<br />
|
_Optional_. It will use metric if you are out of US and imperial for US.<br />
|
||||||
The temperature scale in which to display temperature values. <br />
|
The temperature scale in which to display temperature values. <br />
|
||||||
Values: `F` for Fahrenheit, `C` for Celcius.
|
Values: `F` for Fahrenheit, `C` for Celcius.
|
||||||
|
|
||||||
|
`view` <br />
|
||||||
|
_Optional_ Wttr.in view configuration. <br />
|
||||||
|
Values: See `curl wttr.in/:help` for more details.
|
||||||
|
@ -57,7 +57,7 @@ position Defines where in the grid this module&rsquo;s widget will be displa
|
|||||||
Displays weather information as ASCII art from Wttr.in.
|
Displays weather information as ASCII art from Wttr.in.
|
||||||
Source Code wtf/prettyweather/ Required ENV Variables None.
|
Source Code wtf/prettyweather/ Required ENV Variables None.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34; Attributes city Optional. It will grab the current location from your IP address if omitted.
|
Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34;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.
|
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.
|
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&rsquo;s widget will be displayed.</description>
|
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
||||||
|
@ -57,7 +57,7 @@ position Defines where in the grid this module&rsquo;s widget will be displa
|
|||||||
Displays weather information as ASCII art from Wttr.in.
|
Displays weather information as ASCII art from Wttr.in.
|
||||||
Source Code wtf/prettyweather/ Required ENV Variables None.
|
Source Code wtf/prettyweather/ Required ENV Variables None.
|
||||||
Keyboard Commands None.
|
Keyboard Commands None.
|
||||||
Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34; Attributes city Optional. It will grab the current location from your IP address if omitted.
|
Configuration prettyweather:enabled:truecity:&#34;tehran&#34;position:top:3left:5height:1width:1refreshInterval:300unit:&#34;c&#34;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.
|
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.
|
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&rsquo;s widget will be displayed.</description>
|
position Defines where in the grid this module&rsquo;s widget will be displayed.</description>
|
||||||
|
@ -140,7 +140,8 @@
|
|||||||
</span><span class="w"> </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
</span><span class="w"> </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||||
</span><span class="w"> </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
</span><span class="w"> </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">300</span><span class="w">
|
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">300</span><span class="w">
|
||||||
</span><span class="w"> </span>unit<span class="p">:</span><span class="w"> </span><span class="s2">"c"</span></code></pre></div>
|
</span><span class="w"> </span>unit<span class="p">:</span><span class="w"> </span><span class="s2">"c"</span><span class="w">
|
||||||
|
</span><span class="w"> </span>view<span class="p">:</span><span class="w"> </span><span class="m">0</span></code></pre></div>
|
||||||
<h3 id="attributes">Attributes</h3>
|
<h3 id="attributes">Attributes</h3>
|
||||||
|
|
||||||
<p><code>city</code> <br />
|
<p><code>city</code> <br />
|
||||||
@ -164,6 +165,10 @@ Values: A positive integer, <code>0..n</code>.</p>
|
|||||||
The temperature scale in which to display temperature values. <br />
|
The temperature scale in which to display temperature values. <br />
|
||||||
Values: <code>F</code> for Fahrenheit, <code>C</code> for Celcius.</p>
|
Values: <code>F</code> for Fahrenheit, <code>C</code> for Celcius.</p>
|
||||||
|
|
||||||
|
<p><code>view</code> <br />
|
||||||
|
<em>Optional</em> Wttr.in view configuration. <br />
|
||||||
|
Values: See <code>curl wttr.in/:help</code> for more details.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user