You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

[Rainmeter]
Update=1000
@Include=#@#Globals\Formats.inc
@Include2=#@#Globals\MeasureHDD.inc
[Metadata]
Name=Free Disk Space HUD
Author=Tuxwonder
Information=This skin measures the free space left in Drive 1 (preset in the MeasureHDD.inc file as the C: drive). Less bars, less space.
Version=1.0.0
[BarCalc]
Measure=Calc
Formula=Ceil(MeasureHDD1_Free/MeasureHDD1_Total*30)/30
IfCondition=BarCalc*30>=20
IfTrueAction=[!SetOption MeterHDD BarImage "#@#Images\Hull\meter_good.png"]
IfCondition2=(BarCalc*30>=10) && (BarCalc*30<20)
IfTrueAction2=[!SetOption MeterHDD BarImage "#@#Images\Hull\meter_ok.png"]
IfCondition3=BarCalc*30<10
IfTrueAction3=[!SetOption MeterHDD BarImage "#@#Images\Hull\meter_bad.png"]
OnUpdateAction=[!UpdateMeter MeterHDD][!Redraw]
[MeterHud]
Meter=Image
ImageName=#@#Images\Hull\hdd_hud.png
[MeterHDD]
Meter=Bar
X=10r
MeasureName=BarCalc
BarImage=#@#Images\Hull\power_meter.png
BarOrientation=Horizontal
[MeterHDDText]
Meter=String
MeterStyle=FontFormat_Large
MeasureName=MeasureHDD1_Free
NumOfDecimals=1
AutoScale=1
Text=%1B
X=380
Y=15