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:
@@ -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&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.
|
||||
Source Code wtf/prettyweather/ Required ENV Variables 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.
|
||||
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>
|
||||
|
||||
@@ -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>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>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>
|
||||
|
||||
<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 />
|
||||
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 class="footer">
|
||||
|
||||
Reference in New Issue
Block a user