Skip to content

Instantly share code, notes, and snippets.

@ssisaias
Created April 13, 2019 21:50
Show Gist options
  • Save ssisaias/b7b9ac4fa10de4de5e59709ad0defc61 to your computer and use it in GitHub Desktop.
Save ssisaias/b7b9ac4fa10de4de5e59709ad0defc61 to your computer and use it in GitHub Desktop.
[Rainmeter]
Update=5000
Background=#@#Background.png
; #@# is equal to Rainmeter\Skins\illustro\@Resources
BackgroundMode=3
BackgroundMargins=0,34,0,14
[Metadata]
; Contains basic information of the skin.
Name=System
Author=Isaias (@ssisaias)
Information=Get Info from SpeedFan, Lenovo 330 MX150
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0
[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205
; ----------------------------------
; MEASURES return some kind of value
; ----------------------------------
[MeasureCPU1]
Measure=Plugin
Plugin=SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=2
MinValue=0
MaxValue=110
[MeasureCPU2]
Measure=Plugin
Plugin=SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=3
MinValue=0
MaxValue=110
[MeasureCPU3]
Measure=Plugin
Plugin=SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=4
MinValue=0
MaxValue=110
[MeasureCPU4]
Measure=Plugin
Plugin=SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=5
MinValue=0
MaxValue=110
[MeasureGPU]
Measure=Plugin
Plugin=SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=0
MinValue=0
MaxValue=100
; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------
[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
; Meters using styleLeftText will be left-aligned.
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
; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------
[meterTitle]
Meter=String
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text=
; Even though the text is set to System, Rainmeter will display
; it as SYSTEM, because styleTitle contains StringCase=Upper.
;===CPU1
[meterLabelCPU1]
Meter=String
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text=CPU 1:
[meterValueCPU1]
Meter=String
MeterStyle=styleRightText
MeasureName=MeasureCPU1
X=200
Y=0r
; r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1º
; %1 stands for the value of MeasureName (measureCPU in this case).
[meterBarCPU1]
Meter=Bar
MeterStyle=styleBar
MeasureName=MeasureCPU1
X=50
Y=45
W=120
H=3
;===CPU2
[meterLabelCPU2]
Meter=String
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text=CPU 2:
[meterValueCPU2]
Meter=String
MeterStyle=styleRightText
MeasureName=MeasureCPU2
X=200
Y=0r
; r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1º
; %1 stands for the value of MeasureName (measureCPU in this case).
[meterBarCPU2]
Meter=Bar
MeterStyle=styleBar
MeasureName=MeasureCPU1
X=50
Y=65
W=120
H=3
;===CPU3
[meterLabelCPU3]
Meter=String
MeterStyle=styleLeftText
X=10
Y=80
W=190
H=14
Text=CPU 3:
[meterValueCPU3]
Meter=String
MeterStyle=styleRightText
MeasureName=MeasureCPU3
X=200
Y=0r
; r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1º
; %1 stands for the value of MeasureName (measureCPU in this case).
[meterBarCPU3]
Meter=Bar
MeterStyle=styleBar
MeasureName=MeasureCPU1
X=50
Y=85
W=120
H=3
;===CPU4
[meterLabelCPU4]
Meter=String
MeterStyle=styleLeftText
X=10
Y=100
W=190
H=14
Text=CPU 4:
[meterValueCPU4]
Meter=String
MeterStyle=styleRightText
MeasureName=MeasureCPU4
X=200
Y=0r
; r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1º
; %1 stands for the value of MeasureName (measureCPU in this case).
[meterBarCPU4]
Meter=Bar
MeterStyle=styleBar
MeasureName=MeasureCPU1
X=50
Y=105
W=120
H=3
;===GPU
[meterLabelGPU]
Meter=String
MeterStyle=styleLeftText
X=10
Y=125
W=190
H=14
Text=GPU:
[meterValueGPU]
Meter=String
MeterStyle=styleRightText
MeasureName=MeasureGPU
X=200
Y=0r
; r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1º
; %1 stands for the value of MeasureName (measureCPU in this case).
[meterBarGPU]
Meter=Bar
MeterStyle=styleBar
MeasureName=MeasureGPU
X=50
Y=129
W=120
H=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment