Skip to content

Instantly share code, notes, and snippets.

@mon0theist
Last active January 2, 2021 21:45
Show Gist options
  • Save mon0theist/3fcb5af30c80a38d04b3eff108fb231a to your computer and use it in GitHub Desktop.
Save mon0theist/3fcb5af30c80a38d04b3eff108fb231a to your computer and use it in GitHub Desktop.
Rainmeter Enigma - Process.ini - Updated to use UsageMonitor instead of AdvancedCPU
;---------------------------------------------------------------------
; ENIGMA PROCESS
; Skins/Enigma/Sidebar/Process/Process.ini
; Updated by mon0theist and xenniumReddit on 2020-12-29
[Rainmeter]
[Variables]
@include=[#@]User\Options.inc
;---------------------------------------------------------------------
; STYLES
@include2=[#@]Styles\[#Stylesheet]\Options.inc
@include3=[#@]Styles\[#Stylesheet]\SidebarCommon.inc
@include4=[#@]Styles\[#Stylesheet]\SidebarProcess.inc
;---------------------------------------------------------------------
; MEASURES
; Updated to use UsageMonitor plugin instead of the deprecated AdvancedCPU plugin
[MeasureProcessTotal]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
UpdateDivider=[#ProcessInterval]
;Plugin=AdvancedCPU
[MeasureProcess1]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=1
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess1 > 0
IfTrueAction=[!ShowMeterGroup Process1]
IfFalseAction=[!HideMeterGroup Process1]
[MeasureProcess2]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=2
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess2 > 0
IfTrueAction=[!ShowMeterGroup Process2]
IfFalseAction=[!HideMeterGroup Process2]
[MeasureProcess3]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=3
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess3 > 0
IfTrueAction=[!ShowMeterGroup Process3]
IfFalseAction=[!HideMeterGroup Process3]
[MeasureProcess4]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=4
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess4 > 0
IfTrueAction=[!ShowMeterGroup Process4]
IfFalseAction=[!HideMeterGroup Process4]
[MeasureProcess5]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=5
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess5 > 0
IfTrueAction=[!ShowMeterGroup Process5]
IfFalseAction=[!HideMeterGroup Process5]
[MeasureProcess6]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=6
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess6 > 0
IfTrueAction=[!ShowMeterGroup Process6]
IfFalseAction=[!HideMeterGroup Process6]
[MeasureProcess7]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=7
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess7 > 0
IfTrueAction=[!ShowMeterGroup Process7]
IfFalseAction=[!HideMeterGroup Process7]
[MeasureProcess8]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=8
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc
UpdateDivider=[#ProcessInterval]
IfCondition=MeasureProcess8 > 0
IfTrueAction=[!ShowMeterGroup Process8]
IfFalseAction=[!HideMeterGroup Process8]
;-----------------------
[MeasureProcess1Bar]
Measure=Calc
Formula=1
;solid bar? ie gray background "unused" bar
[MeasureProcess2Bar]
Measure=Calc
Formula=MeasureProcess2 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
[MeasureProcess3Bar]
Measure=Calc
Formula=MeasureProcess3 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
[MeasureProcess4Bar]
Measure=Calc
Formula=MeasureProcess4 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
[MeasureProcess5Bar]
Measure=Calc
Formula=MeasureProcess5 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
[MeasureProcess6Bar]
Measure=Calc
Formula=MeasureProcess6 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
[MeasureProcess7Bar]
Measure=Calc
Formula=MeasureProcess7 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
[MeasureProcess8Bar]
Measure=Calc
Formula=MeasureProcess8 / ((MeasureProcess1 > 0) ? MeasureProcess1 : 1)
;---------------------------------------------------------------------
; METERS
[Background]
Meter=IMAGE
MeterStyle=StyleSidebarBackground | StyleProcessBackground
[Border]
Meter=IMAGE
MeterStyle=StyleProcessBorder
[Icon]
Meter=IMAGE
MeterStyle=StyleProcessIcon
LeftMouseUpAction=["taskmgr.exe"]
[Title]
Meter=STRING
MeterStyle=StyleProcessTitle
Text=Processes
LeftMouseUpAction=["taskmgr.exe"]
;-----------------------
; ITEMS
[Item1]
Meter=STRING
MeterStyle=StyleProcessText | StyleProcessTextFirst
MeasureName=MeasureProcess1
Group=Process1
[Number1]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess1:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process1
[Bar1]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess1Bar
Group=Process1
[Item2]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess2
Group=Process2
[Number2]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess2:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process2
[Bar2]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess2Bar
Group=Process2
[Item3]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess3
Group=Process3
[Number3]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess3:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process3
[Bar3]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess3Bar
Group=Process3
[Item4]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess4
Group=Process4
[Number4]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess4:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process4
[Bar4]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess4Bar
Group=Process4
[Item5]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess5
Group=Process5
[Number5]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess5:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process5
[Bar5]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess5Bar
Group=Process5
[Item6]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess6
Group=Process6
[Number6]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess6:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process6
[Bar6]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess6Bar
Group=Process6
[Item7]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess7
Group=Process7
[Number7]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess7:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process7
[Bar7]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess7Bar
Group=Process7
[Item8]
Meter=STRING
MeterStyle=StyleProcessText
MeasureName=MeasureProcess8
Group=Process8
[Number8]
Meter=STRING
MeterStyle=StyleProcessNumber
Text="[MeasureProcess8:0]"
Postfix=%
Scale=([&MeasureProcessTotal:]/100)
Group=Process8
[Bar8]
Meter=BAR
MeterStyle=StyleProcessBar
MeasureName=MeasureProcess8Bar
Group=Process8
;---------------------------------------------------------------------
; METADATA
[Metadata]
Name=Enigma Process
Author=Kaelri, mon0theist, xenniumReddit
; Updated by mon0theist and xenniumReddit on 2020-12-29
Information=Shows your top Windows processes by CPU usage.
Version=4 Patch 1
License=Creative Commons BY-NC-SA 3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment