Skip to content

Instantly share code, notes, and snippets.

@ingmar
Created April 23, 2020 20:40
Show Gist options
  • Save ingmar/bdf85e1aa29c6e7651ddbaefc220a305 to your computer and use it in GitHub Desktop.
Save ingmar/bdf85e1aa29c6e7651ddbaefc220a305 to your computer and use it in GitHub Desktop.
Rainmeter Ping histogram skin. Shows network latency over time and last response time as text. Matches Illustro style. To use, copy PingHist.Ini into %USERPROFILE%\Documents\Rainmeter\Skins\illustro\Ping\
[Rainmeter]
Update=1000
Background=#@#Background.png
; #@# is equal to Rainmeter\Skins\illustro\@Resources
BackgroundMode=3
BackgroundMargins=0,34,0,14
[Metadata]
Name=PingHist
Author=Ingmar
Information=Lala
Version=0.1
License=Boo
[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205
pingHost=8.8.8.8
; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------
[styleTitle]
StringAlign=Center
StringCase=Upper
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1
[styleLeftText]
StringAlign=Left
; Meters using styleLeftText will be left-aligned.
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText]
StringAlign=Right
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15
[styleSeperator]
SolidColor=255,255,255,15
; MEASURES
[MeasurePing]
Measure=Plugin
Plugin=PingPlugin
UpdateRate=1
Timeout=5000
MaxValue=1000
DestAddress=#pingHost#
; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------
[meterTitle]
Meter=String
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text=Ping
[meterPingHistogram]
Meter=Histogram
MeasureName=MeasurePing
X=5
Y=5
W=190
H=100
;PrimaryColor=#colorBar#
PrimaryColor=235,170,0,127
[meterPingLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text=Response time
[meterPingValue]
Meter=String
MeterStyle=styleRightText
MeasureName=MeasurePing
X=200
Y=0r
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1 ms
; %1 stands for the value of MeasureName (measureIP in this case).
@ingmar
Copy link
Author

ingmar commented Apr 23, 2020

Annotation 2020-04-23 224048

@alaatogog6
Copy link

hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment