Last active
August 29, 2015 14:07
-
-
Save justsh/fc1ff9f7d8b2c32402fa to your computer and use it in GitHub Desktop.
Rainmeter Illustro Skins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Weather info for Rainmeter Illustro | |
; TO FIND YOUR WEATHER CODE | |
; First, use the wxdata search feature to find location codes | |
;http://wxdata.weather.com/wxdata/search/search?where=College+Station+TX | |
; That should return a list with at least one acceptable weatherCode | |
; You can test that code with the following url | |
;http://wxdata.weather.com/wxdata/weather/local/USTX0270 | |
; Examples | |
; http://wxdata.weather.com/wxdata/weather/local/USTX0270?unit=m&dayf=1&cc=* | |
; http://wxdata.weather.com/wxdata/weather/local/USTX0270?unit=us&cc=* | |
[Rainmeter] | |
; This section contains general settings that can be used to change how Rainmeter behaves. | |
AppVersion=1000000 | |
Update=1000 | |
[Metadata] | |
; Contains basic information of the skin. | |
Name=Weather | |
Description=This skin shows the current weather and conditions | |
License=Creative Commons BY-NC-SA 3.0 | |
Version=1.0 | |
Author=sys.exit0 (Forked from Etni/DarkerWhite at EclecticTech.deviantart.com) | |
[Variables] | |
fontName=Trebuchet MS | |
textSize=8 | |
colorBar=EAAA00FF | |
colorText=FFFFFFCC | |
;weatherCode=USAZ0207 | |
weatherCode=USTX0270 | |
; Data from wxdata.weather is locale independent, so changing it here should also fetch the | |
; correct units as well | |
; set weather locale to US (or any value that is not M) or M for Metric | |
weatherLocale=US | |
; DISPLAY VARIABLES ONLY | |
; These variables are independent from the units returned by weatherLocale | |
; You should change them manually if you change the locale | |
; set weatherUnit to F for Farenheit or C for Celcius/Centigrade | |
weatherUnit=F | |
; set wind unit to MPH or KM/HR | |
windUnit=MPH | |
sharedUpdateRate=3600 | |
windUpdateRate=1800 | |
; ------------------------------------------------------------------- | |
; END EDITS | |
; edit below this block at your own risk | |
; ------------------------------------------------------------------- | |
; MEASURES: | |
; UpdateRate sets how often the weather info is fetched, | |
; in seconds. 1800 seconds = 30 minutes. | |
; | |
; The number in measureW# is the order it is displayed | |
; The number in each StringIndex is the order the value is | |
; parsed in the measureW1 RegExp | |
;RegExp Assertions: | |
;Conditions | |
RE_COND=<t>(.*)</t>.* | |
;Temperature | |
RE_TMP=<tmp>(.*)</tmp>.* | |
;Humidity | |
RE_HMID=<hmid>(.*)</hmid>.* | |
;Curr Wind speed | |
RE_WINDS=<wind>.*<s>(.*)</s>.*</wind>.* | |
;Today's Low | |
RE_LOW=<low>(.*)</low>.* | |
;Today's High | |
RE_HIGH=<hi>(.*)</hi>.* | |
;Conditions | |
[measureW1] | |
Measure=Plugin | |
Plugin=WebParser.dll | |
UpdateRate=#sharedUpdateRate# | |
Url=http://wxdata.weather.com/wxdata/weather/local/#weatherCode#?unit=#weatherLocale#&dayf=1&cc=* | |
; UNFORTUNATELY, these have to be listed in the exact order for now | |
RegExp="(?siU).*#RE_TMP##RE_COND#.*#RE_HMID##RE_HIGH##RE_LOW# | |
StringIndex=2 | |
Substitute="":"-" | |
;Temperature | |
[measureW2] | |
Measure=Plugin | |
Plugin=WebParser.dll | |
Url=[measureW1] | |
StringIndex=1 | |
Substitute="":"-" | |
;Humidity | |
[measureW3] | |
Measure=Plugin | |
Plugin=WebParser.dll | |
Url=[measureW1] | |
StringIndex=3 | |
Substitute="":"-" | |
MinValue=0 | |
MaxValue=100 | |
;Today's Low | |
[measureW5] | |
Measure=Plugin | |
Plugin=WebParser.dll | |
Url=[measureW1] | |
StringIndex=5 | |
;Today's High | |
[measureW6] | |
Measure=Plugin | |
Plugin=WebParser.dll | |
Url=[measureW1] | |
StringIndex=4 | |
;Curr Winds | |
[measureW4] | |
Measure=Plugin | |
Plugin=WebParser.dll | |
UpdateRate=#windUpdateRate# | |
Url=http://wxdata.weather.com/wxdata/weather/local/#weatherCode#?unit=#weatherLocale#&dayf=1&cc=* | |
RegExp="(?siU).*#RE_WINDS#" | |
StringIndex=1 | |
Substitute="":"-" | |
ForceReload=1 | |
MinValue=0 | |
MaxValue=100 | |
; -------------------------- | |
; METERS | |
; Note: not in reading order | |
; -------------------------- | |
[meterBackground] | |
Meter=IMAGE | |
ImageName=#SKINSPATH#\illustro\SHARED\Background5Line.png | |
X=0 | |
Y=0 | |
[meterTitle] | |
Meter=STRING | |
MeterStyle=styleTitle | |
X=100 | |
Y=12 | |
W=190 | |
H=18 | |
Text="Weather" | |
LeftMouseUpAction=!Execute ["http://www.weather.com/weather/today/#weatherCode#"] | |
ToolTipText="Open Weather.com" | |
[meterLabel1] | |
Meter=STRING | |
MeterStyle=styleLeftText | |
X=10 | |
Y=40 | |
W=190 | |
H=14 | |
Text="Conditions" | |
[meterValue1] | |
Meter=STRING | |
MeterStyle=styleRightText | |
MeasureName=measureW1 | |
X=200 | |
Y=0r | |
W=190 | |
H=14 | |
Text="%1" | |
[meterLabel2] | |
Meter=STRING | |
MeterStyle=styleLeftText | |
X=10 | |
Y=60 | |
W=190 | |
H=14 | |
Text="Temperature" | |
[meterValue2] | |
Meter=STRING | |
MeterStyle=styleRightText | |
MeasureName=measureW2 | |
X=200 | |
Y=0r | |
W=190 | |
H=14 | |
Text="%1°#weatherLocale#" | |
[meterLabel3] | |
Meter=STRING | |
MeterStyle=styleLeftText | |
X=10 | |
Y=80 | |
W=190 | |
H=14 | |
Text="" | |
[meterValue3] | |
Meter=STRING | |
MeterStyle=styleRightText | |
MeasureName=measureW5 | |
MeasureName2=measureW6 | |
X=200 | |
Y=0r | |
W=190 | |
H=14 | |
Text="%1 to %2°#weatherLocale#" | |
[meterLabel4] | |
Meter=STRING | |
MeterStyle=styleLeftText | |
X=10 | |
Y=120 | |
W=190 | |
H=14 | |
Text="Humidity" | |
[meterValue4] | |
Meter=STRING | |
MeterStyle=styleRightText | |
MeasureName=measureW3 | |
X=200 | |
Y=0r | |
W=190 | |
H=14 | |
Text="%1% " | |
[meterLabel5] | |
Meter=STRING | |
MeterStyle=styleLeftText | |
X=10 | |
Y=100 | |
W=190 | |
H=14 | |
Text="Wind" | |
[meterValue5] | |
Meter=STRING | |
MeterStyle=styleRightText | |
MeasureName=measureW4 | |
X=200 | |
Y=0r | |
W=190 | |
H=14 | |
Text="%1 #windUnit#" | |
[meterSeperator1] | |
Meter=IMAGE | |
MeterStyle=styleSeperator | |
X=10 | |
Y=52 | |
W=190 | |
H=1 | |
[meterSeperator2] | |
Meter=IMAGE | |
MeterStyle=styleSeperator | |
X=10 | |
Y=72 | |
W=190 | |
H=1 | |
[meterSeperator3] | |
Meter=IMAGE | |
MeterStyle=styleSeperator | |
X=10 | |
Y=92 | |
W=190 | |
H=1 | |
[meterBarWind] | |
Meter=BAR | |
MeterStyle=styleBar | |
MeasureName=measureW4 | |
X=10 | |
Y=112 | |
W=190 | |
H=1 | |
[meterSeperator4] | |
Meter=IMAGE | |
MeterStyle=styleSeperator | |
X=10 | |
Y=112 | |
W=190 | |
H=1 | |
[meterBarHumidity] | |
Meter=BAR | |
MeterStyle=styleBar | |
MeasureName=measureW3 | |
X=10 | |
Y=132 | |
W=190 | |
H=1 | |
[meterSeperator5] | |
Meter=IMAGE | |
MeterStyle=styleSeperator | |
X=10 | |
Y=132 | |
W=190 | |
H=1 | |
; ---------------------------------- | |
; STYLES | |
; ---------------------------------- | |
[styleTitle] | |
StringAlign=CENTER | |
StringCase=UPPER | |
StringStyle=BOLD | |
StringEffect=SHADOW | |
FontEffectColor=0,0,0,50 | |
FontColor=#colorText# | |
FontFace=#fontName# | |
FontSize=10 | |
AntiAlias=1 | |
ClipString=1 | |
[styleLeftText] | |
StringAlign=LEFT | |
StringCase=NONE | |
StringStyle=BOLD | |
StringEffect=SHADOW | |
FontEffectColor=0,0,0,20 | |
FontColor=#colorText# | |
FontFace=#fontName# | |
FontSize=#textSize# | |
AntiAlias=1 | |
ClipString=1 | |
[styleRightText] | |
StringAlign=RIGHT | |
StringCase=NONE | |
StringStyle=BOLD | |
StringEffect=SHADOW | |
FontEffectColor=0,0,0,20 | |
FontColor=#colorText# | |
FontFace=#fontName# | |
FontSize=#textSize# | |
AntiAlias=1 | |
ClipString=1 | |
[styleBar] | |
BarColor=#colorBar# | |
BarOrientation=HORIZONTAL | |
SolidColor=255,255,255,15 | |
[styleSeperator] | |
SolidColor=255,255,255,15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment