Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Lines starting ; (semicolons) are commented out.
- ; That is, they do not affect the code and are here for demonstration purposes only.
- ; ----------------------------------
- [Rainmeter]
- ; This section contains general settings that can be used to change how Rainmeter behaves.
- Update=1000
- ; #@# is equal to Rainmeter\Skins\clearsky\@Resources
- #BackgroundMode=2
- #SolidColor=0,0,0,25
- [Metadata]
- ; Contains basic information of the skin.
- Name=System
- Author=magroski
- Information=Displays basic system stats.
- 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=12
- colorBar=255, 255, 255
- colorText=255, 255, 255, 160
- colorMeterBg=255,255,255,25
- BarBack=255, 255, 255, 50
- AntiAlias=1
- BarColor=255, 255, 255
- BarBack=255, 255, 255, 50
- FontName=Trebuchet MS
- FontName2=Trebuchet MS
- FontColor=255, 255, 255, 160
- FontHeight=12
- ; ----------------------------------
- ; MEASURES return some kind of value
- ; ----------------------------------
- [measureCPU]
- ; This measure returns the average CPU load between all cores.
- Measure=CPU
- Processor=0
- MinValue=0
- MaxValue=100
- #~ [measureRAM]
- #~ ; Returns the amount of RAM used in bytes.
- #~ Measure=PhysicalMemory
- #~ UpdateDivider=20
- #~ ; UpdateDivider sets the rate at which the value of the measure is updated. It is
- #~ ; calculated as follows: UpdateDivider x Update. In this case, Update is set to
- #~ ; 1000 milliseconds (in the [Rainmeter] section). 1000 x 20 = 20000 ms or 20 seconds.
- #~ ; ----------------------------------
- #~ ; STYLES are used to "centralize" options
- #~ ; ----------------------------------
- [styleTitle]
- StringAlign=Center
- StringCase=Upper
- FontEffectColor=255, 255, 255, 160
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=10
- AntiAlias=1
- ClipString=1
- [styleLeftText]
- StringAlign=Left
- ; Meters using styleLeftText will be left-aligned.
- StringCase=None
- FontEffectColor=255, 255, 255, 160
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleRightText]
- StringAlign=Right
- StringCase=None
- FontEffectColor=0,0,0,20
- FontColor=#colorText#
- FontFace=#fontName#
- FontSize=#textSize#
- AntiAlias=1
- ClipString=1
- [styleBar]
- BarColor=#colorBar#
- BarOrientation=HORIZONTAL
- SolidColor=#colorMeterBg#
- [styleLine]
- LineColor=#colorBar#
- LineWidth=2
- AntiAlias=1
- SolidColor=#colorMeterBg#
- ; ----------------------------------
- ; METERS display images, text, bars, etc.
- ; ----------------------------------
- [meterLabelCPU]
- Meter=STRING
- Text="CPU"
- X=7
- Y=5
- FontColor=#FontColor#
- FontSize=#FontHeight#
- FontFace=#FontName#
- AntiAlias=1
- LeftMouseUpAction=!Execute ["%windir%\system32\taskmgr.exe /7"]
- [meterValueCPU]
- Meter=String
- MeterStyle=styleRightText
- MeasureName=measureCPU
- X=192
- Y=100
- ; 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=180
- H=16
- Text=%1%
- ; %1 stands for the value of MeasureName (measureCPU in this case).
- [meterLineCPU]
- Meter=Line
- MeterStyle=styleLine
- MeasureName=measureCPU
- X=10
- Y=30
- W=180
- H=60
- [meterHistogramCPU]
- Meter=Histogram
- #PrimaryColor=24,216,240,65
- PrimaryColor=255,255,255,25
- AntiAlias=1
- MeasureName=measureCPU
- X=10
- Y=0r
- W=180
- H=60
- [BarLine]
- Meter=IMAGE
- X=10
- Y=90
- W=180
- H=5
- SolidColor=#BarBack#
- #~ [meterLabelRAM]
- #~ Meter=String
- #~ MeterStyle=styleLeftText
- #~ X=10
- #~ Y=70r
- #~ W=190
- #~ H=14
- #~ Text=RAM
- #~ [meterValueRAM]
- #~ Meter=String
- #~ MeterStyle=styleRightText
- #~ MeasureName=measureRAM
- #~ X=200
- #~ Y=0r
- #~ W=190
- #~ H=14
- #~ Text=%1%
- #~ Percentual=1
- #~ ; Percentual=1 needs to be added her because measureRAM returns the amount
- #~ ; of RAM used in bytes. Using Percentual=1 will convert that into a percentual value.
- #~ [meterBarRAM]
- #~ Meter=Bar
- #~ MeterStyle=styleBar
- #~ MeasureName=measureRAM
- #~ X=10
- #~ Y=18r
- #~ W=190
- #~ H=5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement