Code: Select all
[Rainmeter]
Update=1000
OnRefreshAction=[!AutoSelectScreen "1"] -- This is critical for multiple monitor set-up
[Metadata]
Name=SK Neon Meters
Author=Stormknight
Information=Displays system information across top of the screen in dynamic sized meters.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0
[Variables]
Page=1;
@Include=Config\Styles.inc
@Include2=Config\Config.inc
; This is mostly positioning calculations, as they just wouldn't work when performed inline as part of the shape command etc. :(
BoxWidth=145
BoxHeight=70
BoxPos1 = 395
[StyleGraphLabels]
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTER
AntiAlias=1
[StyleGraphData]
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTER
AntiAlias=1
; ====================================
; ========== BOX 1 - CPU LOAD ========
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox1]
Meter=Shape
Shape=Rectangle #BoxPos1#,25,#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #CPUcolor#,255
; Gets data from the rainmeter - this is CPU LOAD.
[MeasureDataBox1]
Measure=CPU
; Gets data for specific cores for quad core etc
[MeasureCPU1]
Measure=CPU
Processor=1
[MeasureCPU2]
Measure=CPU
Processor=2
[MeterGraphLineBox1]
Meter=Line
MeasureName=MeasureDataBox1
X=#BoxPos1#
Y=25r
W=#BoxWidth#
H=50
LineCount=1
LineColor=#CPUcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox1]
Meter=Histogram
MeasureName=MeasureDataBox1
X=0r
Y=0r
W=#BoxWidth#
H=50
PrimaryColor=#CPUcolor#,60
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox1]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureCPU1
MeasureName2=MeasureCPU2
X=(#BoxWidth#/2)+#BoxPos1#
Y=50r
Scale=1
NumOfDecimals=0
Text=CPU Load %1% %2%
; ====================================
; ========== BOX 2 - MEMORY ==========
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox2]
Meter=Shape
Shape=Rectangle #BoxPos1#,(#BoxHeight#+42+25),#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #MEMcolor#,255
; This is the text label above the graph.
[MeterLabelBox2]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos1#
Y=(1*(#BoxHeight#+42))
; Gets data from the rainmeter - this is MEMORY.
[MeasureDataBox2]
Measure=PhysicalMemory
UpdateDivider=2
[MeasurePhysMemTotal]
Measure=PhysicalMemory
Total=1
UpdateDivider=3600
[MeterGraphLineBox2]
Meter=Line
MeasureName=MeasureDataBox2
X=#BoxPos1#
Y=25r
W=#BoxWidth#
H=50
LineCount=1
LineColor=#MEMcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox2]
Meter=Histogram
MeasureName=MeasureDataBox6
X=0r
Y=0r
W=#BoxWidth#
H=50
PrimaryColor=#MEMcolor#,60
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox2]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox2
MeasureName2=MeasurePhysMemTotal
X=(#BoxWidth#/2)+#BoxPos1#
Y=53r
AutoScale=1
NumOfDecimals=1
Text="Memory %1B / %2B"
; ====================================
; ========== BOX 3 - NETWORK IN ======
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox3]
Meter=Shape
Shape=Rectangle #BoxPos1#,(2*(#BoxHeight#+42)+25),#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #NETcolor#,255
; This is the text label above the graph.
[MeterLabelBox3]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos1#
Y=(2*(#BoxHeight#+42))
; Gets data from the rainmeter - this is NETWORK.
[MeasureDataBox3]
Measure=NetIn
Interface=Best
UpdateDivider=2
[MeterGraphLineBox3]
Meter=Line
MeasureName=MeasureDataBox3
X=#BoxPos1#
Y=25r
W=#BoxWidth#
H=50
LineCount=1
LineColor=#NETcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
AutoScale=1
GraphOrientation=Vertical
[MeterHistogramBox3]
Meter=Histogram
MeasureName=MeasureDataBox3
X=0r
Y=0r
W=#BoxWidth#
H=50
PrimaryColor=#NETcolor#,60
AntiAlias=1
AutoScale=1
GraphOrientation=Vertical
[MeterDataTextBox3]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox3
X=(#BoxWidth#/2)+#BoxPos1#
Y=53r
AutoScale=1
NumOfDecimals=1
Text="Network In %1"
; ====================================
; ========== BOX 4 - NETWORK OUT =====
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox4]
Meter=Shape
Shape=Rectangle #BoxPos1#,(3*(#BoxHeight#+42)+25),#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #NETcolor#,255
; This is the text label above the graph.
[MeterLabelBox4]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos1#
Y=(3*(#BoxHeight#+42))
; Gets data from the rainmeter - this is NETWORK.
[MeasureDataBox4]
Measure=NetOut
Interface=Best
UpdateDivider=2
[MeterGraphLineBox4]
Meter=Line
MeasureName=MeasureDataBox4
X=#BoxPos1#
Y=25r
W=#BoxWidth#
H=50
LineCount=1
LineColor=#NETcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox4]
Meter=Histogram
MeasureName=MeasureDataBox4
X=0r
Y=0r
W=#BoxWidth#
H=50
PrimaryColor=#NETcolor#,60
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox4]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox4
X=(#BoxWidth#/2)+#BoxPos1#
Y=53r
AutoScale=1
NumOfDecimals=1
Text="Network Out %1"
; ====================================
; ========== BOX 5 - DRIVE C: ========
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox5]
Meter=Shape
Shape=Rectangle #BoxPos1#,(4*(#BoxHeight#+42)+25),#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #HDDcolor#,255
; This is the text label above the graph.
[MeterLabelBox5]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos1#
Y=(4*(#BoxHeight#+42))
; Gets data from the Perfmon plugin - this is NETWORK.
[MeasureDataPerfmonDriveC]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter="% Disk Time"
PerfMonInstance=C:
OnUpdateAction=[!UpdateMeasure MeasureDataBox5]
[MeasureDataBox5]
; Returns scaled down [MeasureDiskAccessC] measurement that represents the percent of time the given disk is processing read or write requests.
Measure=Calc
Formula=((MeasureDataPerfmonDriveC/100000) < 100 ? (MeasureDataPerfmonDriveC/100000) : 100)
MaxValue=100
MinValue=0
UpdateDivider=-1
[MeterGraphLineBox5]
Meter=Line
MeasureName=MeasureDataBox5
X=#BoxPos1#
Y=25r
W=#BoxWidth#
H=50
LineCount=1
LineColor=#HDDcolor#,255
SolidColor=#BACKcolor#
MaxValue=100
MinValue=0
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox5]
Meter=Histogram
MeasureName=MeasureDataBox5
X=0r
Y=0r
W=#BoxWidth#
H=50
PrimaryColor=#HDDcolor#,60
MaxValue=100
MinValue=0
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox5]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox5
X=(#BoxWidth#/2)+#BoxPos1#
Y=53r
AutoScale=1
NumOfDecimals=0
Text="Drive C: %1%"
That's what I'm hoping for.