Skip to content

Instantly share code, notes, and snippets.

@Phoenix616
Last active June 1, 2020 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Phoenix616/c954b632c4491664248347d1d693deff to your computer and use it in GitHub Desktop.
Save Phoenix616/c954b632c4491664248347d1d693deff to your computer and use it in GitHub Desktop.
Simple network monitor Rainmeter skin
[Rainmeter]
Update=500
DynamicWindowSize=1
[Metadata]
Name= Personal - Network
Author=Phoenix616
Version=1.0
License=CC-BY-NC-SA 3.0
[Variables]
downColor=FF8200CC
upColor=26C000CC
[MeterBackground]
Meter=Image
ImageName=#@#Images\NET_black.png
X=0
Y=0
W=240
H=126
AntiAlias=1
[MeasureNetIn]
Measure=NetIn
AverageSize=5
[MeasureNetInText]
Measure=NetIn
AverageSize=5
RegExpSubstitute=1
Substitute="^0\.0":"","\s":"","(\d{3})\.\d([kM])":"\1\2"
UpdateDivider=2
[MeasureNetOut]
Measure=NetOut
AverageSize=5
[MeasureNetOutText]
Measure=NetOut
AverageSize=5
RegExpSubstitute=1
Substitute="^0\.0":"","\s":"","(\d{3})\.\d([kM])":"\1\2"
UpdateDivider=2
[MeasureIntCon]
Measure=Plugin
Plugin=SysInfo
SysInfoType=INTERNET_CONNECTIVITY
IfCondition=MeasureIntCon = 1
IfTrueAction=[!Hidemeter IntDCon][!Showmeter IntCon]
IfFalseAction=[!Hidemeter IntCon][!Showmeter IntDCon]
UpdateDivider=100
[MeasurePing]
Measure=Plugin
Plugin=PingPlugin
DestAddress=1.1.1.1
UpdateRate=100
---
[DownText]
Meter=String
MeasureName=measureNetInText
FontFace=Trebuchet MS
FontSize=13
FontColor=#downColor#
X=232
Y=74
AntiAlias=1
AutoScale=1
Text=%1
StringAlign=right
StringStyle=bold
StringEffect=shadow
FontEffectColor=40,40,40
[UPText]
Meter=String
MeasureName=measureNetOutText
FontFace=Trebuchet MS
FontSize=13
FontColor=#upColor#
X=232
Y=96
AntiAlias=1
AutoScale=1
Text=%1
StringAlign=right
StringStyle=bold
StringEffect=shadow
FontEffectColor=40,40,40
[Ping]
Meter=String
MeterStyle=TextStyle
MeasureName=MeasurePing
FontFace=Trebuchet MS
FontSize=13
FontColor=166,166,166
X=232
Y=32
AntiAlias=1
Text=%1
StringAlign=right
[IntCon]
Meter=String
MeterStyle=TextStyle
MeasureName=MeasureIntCon
FontFace=Trebuchet MS
FontSize=14
FontColor=166,166,166
X=232
Y=5
AntiAlias=1
Text=+
StringAlign=right
[IntDcon]
Meter=String
MeterStyle=TextStyle
MeasureName=MeasureIntCon
FontFace=Trebuchet MS
FontSize=14
FontColor=166,166,166
X=232
Y=5
AntiAlias=1
Text=-
StringAlign=right
[NetLine]
Meter=Line
LineCount=2
LineWidth=1.5
MeasureName=MeasureNetIn
MeasureName2=MeasureNetOut
X=6
Y=14
W=78
H=100
LineColor=#downColor#
LineColor2=#upColor#
AntiAlias=1
AutoScale=0
TransformationMatrix=2;0;0;1;0;0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment