Created
February 22, 2018 19:04
-
-
Save aysark/07828af9940a5b72c99c7d87c3c3b3f6 to your computer and use it in GitHub Desktop.
Revisions
-
aysark created this gist
Feb 22, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,159 @@ ; 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 Background=#@#Background.png ; #@# is equal to Rainmeter\Skins\illustro\@Resources BackgroundMode=3 BackgroundMargins=0,34,0,14 [Metadata] ; Contains basic information of the skin. Name=Network Author=poiru Information=Shows your IP address and network activity. 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=8 colorBar=235,170,0,255 colorText=255,255,255,205 maxDownload=10485760 MaxUpload=10485760 ; Set maxDownload and maxUpload to your maximum download and upload speed in bits. ; To convert kilobits, megabits, kilobytes, and megabytes into bits, go to www.google.com ; and search for something like "10 megabytes in bits". ; ---------------------------------- ; MEASURES return some kind of value ; ---------------------------------- [measureNetIn] Measure=NetIn NetInSpeed=#maxDownload# ; NetInSpeed must be set so your maximun download speed for the download bar to scale correctly [measureNetOut] Measure=NetOut NetOutSpeed=#maxUpload# ; ---------------------------------- ; 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 ; ---------------------------------- ; METERS display images, text, bars, etc. ; ---------------------------------- [meterUploadLabel] Meter=String MeterStyle=styleLeftText X=10 Y=10 W=190 H=14 Text=Upload [meterUploadValue] Meter=String MeterStyle=styleRightText MeasureName=measureNetOut X=200 Y=0r W=190 H=14 Text=%1B/s NumOfDecimals=1 AutoScale=1 ; Because measureIP returns the current upload speed in bytes, we must use AutoScale=1 to ; automatically scale the value into a more readable figure. [meterUploadBar] Meter=Bar MeterStyle=styleBar MeasureName=measureNetOut X=10 Y=25 W=190 H=1 [meterDownloadLabel] Meter=String MeterStyle=styleLeftText X=10 Y=30 W=190 H=14 Text=Download [meterDownloadValue] Meter=String MeterStyle=styleRightText MeasureName=measureNetIn X=200 Y=0r W=190 H=14 Text=%1B/s NumOfDecimals=1 AutoScale=1 [meterDownloadBar] Meter=Bar MeterStyle=styleBar MeasureName=measureNetIn X=10 Y=45 W=190 H=1