Skip to content

Instantly share code, notes, and snippets.

@eritbh
Created August 9, 2017 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eritbh/948d41d5fd406d7f9c618dc10edf1918 to your computer and use it in GitHub Desktop.
Save eritbh/948d41d5fd406d7f9c618dc10edf1918 to your computer and use it in GitHub Desktop.
[Rainmeter]
Update=500
[Metadata]
Name=System Usage Taskbar Utility
Author=Geo1088
Information=CPU and RAM display sized to fit in the taskbar.
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0
[Variables]
; Color used in the bars
accentColor=81,179,168
; Overall width of the thing (changing this only stretches the width of the
; label area)
width=166
; 16px of space left over: 2 4px-wide bars, a 4px-space in-between, and a 4px
; space between the first bar and the labels
labelAreaWidth=(#width# - 16)
; Styles
; The style used for the usage bars
[styleBar]
BarColor=#accentColor#
BarOrientation=VERTICAL
Flip=1
W=4
H=80
Y=0
; The style used for text components
[styleText]
FontColor=255,255,255,255
FontSize=18
FontFace=Segoe UI
AntiAlias=1
; Meters
; Average CPU load between all cores.
[measureCPU]
Measure=CPU
Processor=0
; Amount of RAM used in bytes.
[measureRAM]
Measure=PhysicalMemory
UpdateDivider=20
; Meters
[meterBarCPU]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureCPU
X=(#labelAreaWidth# + 4)
[meterLabelCPU]
Meter=String
MeterStyle=styleText
StringAlign=Left
Text=CPU:
X=0
Y=5
W=#labelAreaWidth#
H=40
[meterValueCPU]
Meter=String
MeterStyle=styleText
StringAlign=Right
MeasureName=measureCPU
X=#labelAreaWidth#
Y=5
W=#labelAreaWidth#
H=40
Text=%1%
; %1 stands for the value of MeasureName (measureCPU in this case)
[meterBarRAM]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureRAM
X=(#labelAreaWidth# + 12)
[meterLabelRAM]
Meter=String
MeterStyle=styleText
StringAlign=Left
Text=RAM:
X=0
Y=42
W=#labelAreaWidth#
H=38
[meterValueRAM]
Meter=String
MeterStyle=styleText
StringAlign=Right
MeasureName=measureRAM
X=#labelAreaWidth#
Y=42
W=#labelAreaWidth#
H=38
Text=%1%
Percentual=1
; I'm good at naming things
[meterThingTop]
Meter=String
X=0
Y=0
W=#labelAreaWidth#
H=4
SolidColor=#accentColor#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment