It is currently May 2nd, 2024, 4:33 pm
Get help with creating, editing & fixing problems with skins
rocstar96
Posts: 7 Joined: December 3rd, 2011, 4:50 pm
Post
by rocstar96 » December 4th, 2011, 5:31 am
Could someone help me with this? I have been tweaking it since yesterday, I just cant get it right, Can you put 2 histograms in 1 skin?
So far this is what i have come up with, I cant get the bottom histogram to get working for (D:)
Code: Select all
;---------------------------------------------------------------------
; ENIGMA SYSTEM
[Rainmeter]
Author=Kaelri
AppVersion=2001000
Group=EnigmaSidebar
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
;---------------------------------------------------------------------
; STYLES
@include2=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\Variables.inc
@include3=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\SidebarSystem.inc
Variant1=Graph
Variant2=Normal
;---------------------------------------------------------------------
; MEASURES
[MeasureCPU]
Measure=CPU
[MeasureRAM]
Measure=PhysicalMemory
[MeasureHD]
Measure=FreeDiskSpace
Drive=#Drive1#:
UpdateDivider=60
[MeasurePower]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT
[MeasureCore1]
Measure=CPU
Processor=1
[MeasureCore2]
Measure=CPU
Processor=2
;---------------------------------------------------------------------
; METERS
;-----------------------
; FRAME
[Background]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Background
[Border1]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border1
[VerticalBorderA]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#VerticalBorderA
[VerticalBorderB]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#VerticalBorderB
[Border2]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border2
;-----------------------
; LABELS & TEXT
[LabelCPU]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label1
Text="CPU"
[CPU]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text1
MeasureName=MeasureCPU
Text="%1%"
[LabelRAM]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label2
Text="RAM"
[RAM]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text2
MeasureName=MeasureRAM
Text="%1%"
Percentual=1
AutoScale=1
[LabelHD]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label3
Text="HDD"
[HD]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text3
MeasureName=MeasureHD
Text="%1B"
AutoScale=1
NumOfDecimals=0
[LabelPower]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label4
Text="PWR"
[Power]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text4
MeasureName=MeasurePower
Text="%1%"
;-----------------------
;-----------------------
; GRAPH FRAME
[Mse_DriveAccess]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=LogicalDisk
PerfMonCounter="Disk Bytes/sec"
PerfMonInstance="C:"
[Mse_DriveAccess2]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=LogicalDisk
PerfMonCounter="Disk Bytes/sec"
PerfMonInstance="D:"
[Border3]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border3
[VerticalBorderC]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#VerticalBorderC
[Border4]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border4
[Border5]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border5
;-----------------------
; HISTOGRAMS
[Rl_DriveAccess1]
Meter=Histogram
MeterStyle=StyleSystem#Variant1#Graph | StyleSystem#Variant1#Graph1
MeasureName=Mse_DriveAccess
Autoscale=1
[Rl_DriveAccess1]
Meter=Histogram
MeterStyle=StyleSystem#Variant1#Graph | StyleSystem#Variant1#Graph2
MeasureName=Mse_DriveAccess2
Autoscale=1
;-----------------------
; LOWER TEXT
[Core1Label]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphLabel | StyleSystem#Variant1#GraphLabel1
; Prefix="· "
Text="C"
[Core1Number]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphText | StyleSystem#Variant1#GraphText1
MeasureName=Mse_DriveAccess
Autoscale=1
[Core2Label]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphLabel | StyleSystem#Variant1#GraphLabel2
Text="2"
; Postfix=" ·"
[Core2Number]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphText | StyleSystem#Variant1#GraphText2
MeasureName=MeasureCore2
Postfix="%"
;---------------------------------------------------------------------
; METADATA
[Metadata]
Name=Enigma System
Config=Enigma | Sidebar | System
Description=This skin reads your current CPU, RAM, hard drive, and laptop battery usage.
Instructions=· Middle-click to refresh. | · Load Enigma\Options.ini to change options for this skin.
Version=3.1
Tags=Sidebar | System
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
rocstar96
Posts: 7 Joined: December 3rd, 2011, 4:50 pm
Post
by rocstar96 » December 6th, 2011, 5:33 am
bump
Mordasius
Posts: 1173 Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8
Post
by Mordasius » December 6th, 2011, 7:05 am
rocstar96 wrote: So far this is what i have come up with, I cant get the bottom histogram to get working for (D:)
Here is something that shows both histograms to get you on your way. Just a case of sorting out some of the Measure names and setting H=100 in [Background] so that there was space for the bottom histogram to show.
Code: Select all
;---------------------------------------------------------------------
; ADAPATATION OF ENIGMA SYSTEM
[Rainmeter]
Author=Kaelri
AppVersion=2001000
Group=EnigmaSidebar
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
;---------------------------------------------------------------------
; STYLES
@include2=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\Variables.inc
@include3=#SKINSPATH#Enigma\Resources\Styles\#Stylesheet#\SidebarSystem.inc
Variant1=Graph
Variant2=Normal
;---------------------------------------------------------------------
; MEASURES
[MeasureCPU]
Measure=CPU
[MeasureRAM]
Measure=PhysicalMemory
[MeasureHD]
Measure=FreeDiskSpace
Drive=#Drive1#:
UpdateDivider=60
[MeasureHD2]
Measure=FreeDiskSpace
Drive=#Drive2#:
UpdateDivider=60
;---------------------------------------------------------------------
; METERS
;-----------------------
; FRAME
[Background]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Background
H=100
[Border1]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border1
[VerticalBorderA]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#VerticalBorderA
[VerticalBorderB]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#VerticalBorderB
[Border2]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border2
;-----------------------
; LABELS & TEXT
[LabelCPU]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label1
Text="CPU"
[CPU]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text1
MeasureName=MeasureCPU
Text="%1%"
[LabelRAM]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label2
Text="RAM"
[RAM]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text2
MeasureName=MeasureRAM
Text="%1%"
Percentual=1
AutoScale=1
[LabelHD1]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label3
Text="( #Drive1#: )"
[HD1]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text3
MeasureName=MeasureHD
Text="%1B"
AutoScale=1
NumOfDecimals=0
[LabelHD2]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Label | StyleSystem#Variant1#Label4
Text="( #Drive2#: )"
[HD2]
Meter=STRING
MeterStyle=StyleSystem#Variant1#Text | StyleSystem#Variant1#Text4
MeasureName=MeasureHD2
Text="%1B"
AutoScale=1
NumOfDecimals=0
;-----------------------
;-----------------------
; GRAPH FRAME
[Mse_DriveAccess]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=LogicalDisk
PerfMonCounter="Disk Bytes/sec"
PerfMonInstance="#Drive1#:"
[Mse_DriveAccess2]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=LogicalDisk
PerfMonCounter="Disk Bytes/sec"
PerfMonInstance="#Drive2#:"
[Border3]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border3
[VerticalBorderC]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#VerticalBorderC
[Border4]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border4
[Border5]
Meter=IMAGE
MeterStyle=StyleSystem#Variant1#Border | StyleSystem#Variant1#Border5
;-----------------------
; HISTOGRAMS
[R1_DriveAccess1]
Meter=Line
MeterStyle=StyleSystem#Variant1#Graph | StyleSystem#Variant1#Graph1
MeasureName=Mse_DriveAccess
Autoscale=1
[Rl_DriveAccess2]
Meter=Line
MeterStyle=StyleSystem#Variant1#Graph | StyleSystem#Variant1#Graph2
MeasureName=Mse_DriveAccess2
Autoscale=1
;-----------------------
; LOWER TEXT
[HDD1Label]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphLabel | StyleSystem#Variant1#GraphLabel1
Text="(#Drive1#:)"
[HDD1Number]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphText | StyleSystem#Variant1#GraphText1
MeasureName=Mse_DriveAccess
Autoscale=1
[HDD2Label]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphLabel | StyleSystem#Variant1#GraphLabel2
Text="(#Drive2#:)"
[HDD2Number]
Meter=STRING
MeterStyle=StyleSystem#Variant1#GraphText | StyleSystem#Variant1#GraphText2
MeasureName=Mse_DriveAccess2
Autoscale=1
I actually changed
Meter=Histogram to
Meter=Line because I think they look better. The label positions could still do with being sorted out, but I expect you can do that. Just play around with some new X= values underneath the meter styles.
Last edited by Mordasius on December 6th, 2011, 7:53 am, edited 1 time in total.
rocstar96
Posts: 7 Joined: December 3rd, 2011, 4:50 pm
Post
by rocstar96 » December 6th, 2011, 7:51 am
Wow thanks! So its all good now? Both histograms are C: and D:?
edit: I really appreciate you replying to this thread, thanks again, It really made me happy!
Mordasius
Posts: 1173 Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8
Post
by Mordasius » December 6th, 2011, 7:56 am
rocstar96 wrote: Wow thanks! So its all good now? Both histograms are C: and D:?
The Histograms/Lines are for whatever HDDs you set
Drive1= and
Drive2= in \Documents\Rainmeter\Skins\Enigma\Resources\Variables\UserVariables.inc
If that makes a mess of your other enigma skins you can always set the drives directly to what you want in the [Variables] section of this skin:
Code: Select all
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
Drive1=C
Drive2=D
rocstar96
Posts: 7 Joined: December 3rd, 2011, 4:50 pm
Post
by rocstar96 » December 6th, 2011, 9:38 am
Mordasius wrote:
The Histograms/Lines are for whatever HDDs you set
Drive1= and
Drive2= in \Documents\Rainmeter\Skins\Enigma\Resources\Variables\UserVariables.inc
If that makes a mess of your other enigma skins you can always set the drives directly to what you want in the [Variables] section of this skin:
Code: Select all
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
Drive1=C
Drive2=D
Thankyou for the tip!