Skip to content

Commit

Permalink
Add win10widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmarkham committed Jun 30, 2016
1 parent 6b08829 commit 7dc29df
Show file tree
Hide file tree
Showing 121 changed files with 12,801 additions and 0 deletions.
60 changes: 60 additions & 0 deletions Win10 Widgets/@Resources/Performance Templates/cpuTemplate.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
; ------------------------------------------------------------------------
; _ ___ _______ _ ___ __ __
; | | / (_)___ / / __ \ | | / (_)___/ /___ ___ / /______
; | | /| / / / __ \/ / / / / | | /| / / / __ / __ \/ _ \/ __/ ___/
; | |/ |/ / / / / / / /_/ / | |/ |/ / / /_/ / /_/ / __/ /_(__ )
; |__/|__/_/_/ /_/_/\____/ |__/|__/_/\__,_/\__, /\___/\__/____/
; /____/
;
; Win10 Widgets for Rainmeter - CPU template
; Author - TJ Markham, http://tjmarkham.com
; Website - http://win10widgets.com
; Donate - http://donate.win10widgets.com
;
; ------------------------------------------------------------------------

; About:
; Template for CPU performance monitor.

[Variables]
GraphMeasure1=MeasureCPU


; ------------------------------------------------------------------------
; MEASURES
; ------------------------------------------------------------------------

[MeasureCPU]
; Returns percent utilization of CPU.
Measure=CPU
OnUpdateAction=[!UpdateMeter Graph1][!UpdateMeter GraphBackground1][!UpdateMeter Value1]
UpdateDivider=10


; ------------------------------------------------------------------------
; METERS
; ------------------------------------------------------------------------

[Graph1]
Hidden=0

[GraphBackground1]
Hidden=0

[Top1]
Hidden=0

[Left1]
Hidden=0

[Bottom1]
Hidden=0

[Right1]
Hidden=0

[Label1]
Hidden=0

[Value1]
Hidden=0
76 changes: 76 additions & 0 deletions Win10 Widgets/@Resources/Performance Templates/diskTemplate.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
; ------------------------------------------------------------------------
; _ ___ _______ _ ___ __ __
; | | / (_)___ / / __ \ | | / (_)___/ /___ ___ / /______
; | | /| / / / __ \/ / / / / | | /| / / / __ / __ \/ _ \/ __/ ___/
; | |/ |/ / / / / / / /_/ / | |/ |/ / / /_/ / /_/ / __/ /_(__ )
; |__/|__/_/_/ /_/_/\____/ |__/|__/_/\__,_/\__, /\___/\__/____/
; /____/
;
; Win10 Widgets for Rainmeter - Disk template
; Author - TJ Markham, http://tjmarkham.com
; Website - http://win10widgets.com
; Donate - http://donate.win10widgets.com
;
; ------------------------------------------------------------------------

; About:
; Template for disk performance monitor.

[Variables]
@Include=#@#diskSelector.ini
GraphMeasure3=MeasureDiskScale
Disk=#PROGRAMDRIVE#


; ------------------------------------------------------------------------
; MEASURES
; ------------------------------------------------------------------------

[MeasureDisk]
; Returns scaled % of time the disk is processing read or write requests.
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter="% Disk Time"
PerfMonInstance=#Disk#
OnUpdateAction=[!UpdateMeasure MeasureDiskScale]
UpdateDivider=10

[MeasureDiskScale]
; Returns scaled down [MeasureDisk] measurement that represents the percent of time the given disk is processing read or write requests.
Measure=Calc
Formula=((MeasureDisk/100000) < 100 ? (MeasureDisk/100000) : 100)
OnUpdateAction=[!UpdateMeter Graph3][!UpdateMeter GraphBackground3][!UpdateMeter Value3]
MaxValue=100
MinValue=0
UpdateDivider=-1


; ------------------------------------------------------------------------
; METERS
; ------------------------------------------------------------------------

[Graph3]
Hidden=0

[GraphBackground3]
Hidden=0

[Top3]
Hidden=0

[Left3]
Hidden=0

[Bottom3]
Hidden=0

[Right3]
Hidden=0

[Label3]
Text="Disk (#Disk#)"
Hidden=0

[Value3]
Hidden=0
95 changes: 95 additions & 0 deletions Win10 Widgets/@Resources/Performance Templates/memoryTemplate.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
; ------------------------------------------------------------------------
; _ ___ _______ _ ___ __ __
; | | / (_)___ / / __ \ | | / (_)___/ /___ ___ / /______
; | | /| / / / __ \/ / / / / | | /| / / / __ / __ \/ _ \/ __/ ___/
; | |/ |/ / / / / / / /_/ / | |/ |/ / / /_/ / /_/ / __/ /_(__ )
; |__/|__/_/_/ /_/_/\____/ |__/|__/_/\__,_/\__, /\___/\__/____/
; /____/
;
; Win10 Widgets for Rainmeter - Memory template
; Author - TJ Markham, http://tjmarkham.com
; Website - http://win10widgets.com
; Donate - http://donate.win10widgets.com
;
; ------------------------------------------------------------------------

; About:
; Template for memory performance monitor.

[Variables]
GraphMeasure2=MeasureMemory


; ------------------------------------------------------------------------
; MEASURES
; ------------------------------------------------------------------------

[MeasureMemory]
; Returns amount of system memory in use in bytes.
Measure=PhysicalMemory
OnUpdateAction=[!UpdateMeasure MeasureMemoryGB][!UpdateMeter Graph2][!UpdateMeter GraphBackground2]
UpdateDivider=10

[MeasureMemoryGB]
; Returns amount of system memory in use in GB.
Measure=Calc
Formula=Round((MeasureMemory/#GBconversionFactor#),1)
OnChangeAction=[!UpdateMeasure MeasureMemoryPercent]
UpdateDivider=-1

[MeasureTotalMemory]
; Returns total amount of system memory in bytes.
Measure=PhysicalMemory
Total=1
OnChangeAction=[!UpdateMeasure MeasureTotalMemoryGB]
UpdateDivider=-1

[MeasureTotalMemoryGB]
; Returns total amount of system memory in GB.
Measure=Calc
Formula=Round((MeasureTotalMemory/#GBconversionFactor#),1)
OnChangeAction=[!UpdateMeter Value2]
UpdateDivider=-1

[MeasureMemoryPercent]
; Returns percent of system memory in use.
Measure=Calc
Formula=Round((MeasureMemoryGB/MeasureTotalMemoryGB)*100)
OnUpdateAction=[!UpdateMeter Value2]
UpdateDivider=-1


; ------------------------------------------------------------------------
; METERS
; ------------------------------------------------------------------------

[Graph2]
Hidden=0

[GraphBackground2]
Hidden=0

[Top2]
Hidden=0

[Left2]
Hidden=0

[Bottom2]
Hidden=0

[Right2]
Hidden=0

[Label2]
Hidden=0

[Value2]
MeasureName=MeasureMemoryGB
MeasureName2=MeasureTotalMemoryGB
ClipString=2
ClipStringW=(#BackgroundWidth#-[#CURRENTSECTION#:X]-6)
Text="%1/%2 GB ([MeasureMemoryPercent]%)"
NumOfDecimals=1
DynamicVariables=1
Hidden=0
129 changes: 129 additions & 0 deletions Win10 Widgets/@Resources/Performance Templates/networkTemplate.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
; ------------------------------------------------------------------------
; _ ___ _______ _ ___ __ __
; | | / (_)___ / / __ \ | | / (_)___/ /___ ___ / /______
; | | /| / / / __ \/ / / / / | | /| / / / __ / __ \/ _ \/ __/ ___/
; | |/ |/ / / / / / / /_/ / | |/ |/ / / /_/ / /_/ / __/ /_(__ )
; |__/|__/_/_/ /_/_/\____/ |__/|__/_/\__,_/\__, /\___/\__/____/
; /____/
;
; Win10 Widgets for Rainmeter - Network template
; Author - TJ Markham, http://tjmarkham.com
; Website - http://win10widgets.com
; Donate - http://donate.win10widgets.com
;
; ------------------------------------------------------------------------

; About:
; Template for network performance monitor.

[Variables]
GraphMeasure4=MeasureNetworkReceive
NetworkSendColor=#NetworkOrangeLight#
NetworkReceiveColorText=#NetworkOrangeDarkText#
NetUnits="Kbps"


; ------------------------------------------------------------------------
; MEASURES
; ------------------------------------------------------------------------

[MeasureNetworkReceive]
; Returns receive activity on the current network in bytes.
Measure=NetIn
OnUpdateAction=[!UpdateMeter Graph4][!UpdateMeasure MeasureNetworkReceiveKb][!UpdateMeasure MeasureNetworkReceiveMb][!UpdateMeasure MeasureNetworkReceiveGb]
UpdateDivider=10

[MeasureNetworkReceiveKb]
; Returns receive activity on the current network in Kilobits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#KBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1

[MeasureNetworkReceiveMb]
; Returns receive activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#MBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1

[MeasureNetworkReceiveGb]
; Returns receive activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#GBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1

[MeasureNetworkSend]
; Returns send activity on the current network in bytes.
Measure=NetOut
OnUpdateAction=[!UpdateMeasure MeasureNetworkSendKb][!UpdateMeasure MeasureNetworkSendMb][!UpdateMeasure MeasureNetworkSendGb]
UpdateDivider=10

[MeasureNetworkSendKb]
; Returns send activity on the current network in Kilobits.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#KBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1

[MeasureNetworkSendMb]
; Returns send activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#MBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1

[MeasureNetworkSendGb]
; Returns send activity on the current network in Gigabits.
; Changes unit of measure between Kb, Mb, and Gb depending on how much data is being sent and/or received.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#GBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
IfCondition=(MeasureNetworkSendMb >= 1) || (MeasureNetworkReceiveMb >= 1)
IfTrueAction=[!SetVariable NetUnits "Mbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveMb][!SetOption Value4 MeasureName2 MeasureNetworkSendMb]
IfCondition2=(MeasureNetworkSendGb >= 1) || (MeasureNetworkReceiveGb >= 1)
IfTrueAction2=[!SetVariable NetUnits "Mbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveMb][!SetOption Value4 MeasureName2 MeasureNetworkSendMb]
IfCondition3=(MeasureNetworkSendGb < 1) && (MeasureNetworkReceiveGb < 1) && (MeasureNetworkSendMb < 1) && (MeasureNetworkReceiveMb < 1)
IfTrueAction3=[!SetVariable NetUnits "Kbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveKb][!SetOption Value4 MeasureName2 MeasureNetworkSendKb]
UpdateDivider=-1


; ------------------------------------------------------------------------
; METERS
; ------------------------------------------------------------------------

[Graph4]
MeasureName2=MeasureNetworkSend
LineCount=2
LineColor2=#NetworkSendColor#
AutoScale=1
Hidden=0

[Top4]
Hidden=0

[Left4]
Hidden=0

[Bottom4]
Hidden=0

[Right4]
Hidden=0

[Label4]
Hidden=0

[Value4]
MeasureName2=MeasureNetworkSendKb
ClipString=2
ClipStringW=(#BackgroundWidth#-[#CURRENTSECTION#:X]-6)
Text="S: %2 R: %1 #NetUnits#"
NumOfDecimals=1
InlineSetting=Color | #NetworkSendColor#
InlinePattern=S:
InlineSetting2=Color | #NetworkReceiveColorText#
InlinePattern2=R:
DynamicVariables=1
Hidden=0
Loading

0 comments on commit 7dc29df

Please sign in to comment.