sprites

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sprites [2015/01/20 20:04] splitbrainsprites [2018/01/05 20:58] (current) – [Moon Phase] toby_goodlock
Line 20: Line 20:
 Watchmaker comes with 4 different sets of Weather icons. They all feature a 3x3 grid with the following icons: Watchmaker comes with 4 different sets of Weather icons. They all feature a 3x3 grid with the following icons:
  
-  - sunny +  - Sunny 
-  - FIXME +  - Partly Cloudy 
-  - FIXME +  - Scattered Clouds 
-  - FIXME +  - Mostly Cloudy 
-  - light rain +  - Light Rain 
-  - heavy rain +  - Heavy Rain 
-  - thunderstorm +  - Thunderstorm 
-  - snow +  - Snow 
-  - cloudy+  - Mist/Fog
  
 By default the weather widget shows the current weather condition as provided by the [[settings#weather provider]] using the following expression: By default the weather widget shows the current weather condition as provided by the [[settings#weather provider]] using the following expression:
  
-<code lua>+<code lua Image Selection>
 '{wci}' == '01d' and 1 or '{wci}' == '02d' and 2 or '{wci}' == '03d' and 3 or '{wci}' == '04d' and 4 or '{wci}' == '09d' and 5 or '{wci}' == '10d' and 6 or '{wci}' == '11d' and 7 or '{wci}' == '13d' and 8 or '{wci}' == '50d' and 9 or 1 '{wci}' == '01d' and 1 or '{wci}' == '02d' and 2 or '{wci}' == '03d' and 3 or '{wci}' == '04d' and 4 or '{wci}' == '09d' and 5 or '{wci}' == '10d' and 6 or '{wci}' == '11d' and 7 or '{wci}' == '13d' and 8 or '{wci}' == '50d' and 9 or 1
 </code> </code>
Line 40: Line 40:
 ''{wci}'' can have the following values: ''{wci}'' can have the following values:
  
-Value Condition +{wci} value  {wct} text                 
-FIXME FIXME     |+01d          Clear or Sunny             | 
 +| 02d          | Windy or Cloudy            | 
 +| 03d          | Mostly Cloudy              | 
 +| 04d          | Clouds or Partly Cloudy    | 
 +| 09d          | Breezy or Rain or Showers 
 +| 10d          | Rain                       | 
 +| 11d          | Thunderstorm               | 
 +| 13d          | Snow or Blowing Snow       | 
 +| 50d          | Fog                        | 
 + 
 +''{wct}'' may show different descriptions depending on your weather provider.
  
 ===== Battery ===== ===== Battery =====
Line 52: Line 62:
 The default expression for the 7-icon set "Battery Set 3" is this: The default expression for the 7-icon set "Battery Set 3" is this:
  
-<code lua>+<code lua Image Selection>
 '{bc}' == 'Charging' and 7 or {bl} >= 90 and 1 or {bl} >= 70 and 2 or {bl} >= 50 and 3 or {bl} >= 30 and 4 or {bl} >= 10 and 5 or 6 '{bc}' == 'Charging' and 7 or {bl} >= 90 and 1 or {bl} >= 70 and 2 or {bl} >= 50 and 3 or {bl} >= 30 and 4 or {bl} >= 10 and 5 or 6
 </code> </code>
  
 +See also [[tips:batterymeters|Analog Battery Meters]]
 ===== WiFi Strength ===== ===== WiFi Strength =====
  
Line 64: Line 75:
 {{ :official:images:moon_set_1.png?200}} {{ :official:images:moon_set_1.png?200}}
 The current moon phase can be displayed as icons. Watchmaker has 4 different sets for that. Each using a 3x3 grid. The current moon phase can be displayed as icons. Watchmaker has 4 different sets for that. Each using a 3x3 grid.
 +
 +^ {wmp} value  ^ Optional text    ^
 +| 1            | New Moon         |
 +| 2            | Waxing Crescent  |
 +| 3            | First Quarter    |
 +| 4            | Waxing Gibbous   |
 +| 5            | Full Moon        |
 +| 6            | Waning Gibbous   |
 +| 7            | Last Quarter     |
 +| 8            | Waning Crescent  |
 +| 9            | New Moon         |
sprites.1421784276.txt.gz · Last modified: 2015/01/20 20:04 by splitbrain