Skip to content

Commit

Permalink
Modify Info.
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrix committed Jan 9, 2017
1 parent 26ba716 commit 6cb6c22
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
3 changes: 3 additions & 0 deletions src/@Resources/Variables.inc
Expand Up @@ -95,6 +95,9 @@ December =
InfoColor = #ColorCommon#
InfoFontAlpha = 255
InfoFontSize = 10
InfoTranslate = "cores":"ÿäðà"
InfoWidth = 220
InfoHeight = 70

;CalendarStyle
[CalendarStyle]
Expand Down
35 changes: 16 additions & 19 deletions src/Info/Info.ini
Expand Up @@ -17,28 +17,27 @@ License = MIT
Meter = Image
X = 0
Y = 0
W = 220
H = 70
W = #InfoWidth#
H = #InfoHeight#
SolidColor = 0,0,0,1

; Measures

; CPU
[MeasureCPULoadCore1]
[MeasureCPU]
Measure = CPU
Processor = 1

[MeasureCPULoadCore2]
Measure = CPU
Processor = 2

[MeasureCPULoadCore3]
Measure = CPU
Processor = 3
[MeasureCores]
Measure = String
String = cores
RegExpSubstitute = 1
Substitute = #InfoTranslate#

[MeasureCPULoadCore4]
Measure = CPU
Processor = 4
[MeasureMyString]
Measure=String
String=Red, Green, Blue
RegExpSubstitute=1
Substitute="Green":"Yellow"

; RAM
[MeasureRAMLoad]
Expand All @@ -62,15 +61,13 @@ Text = CPU:

[MeterCPULoad]
Meter = String
Measurename = MeasureCPULoadCore1
Measurename2 = MeasureCPULoadCore2
Measurename3 = MeasureCPULoadCore3
Measurename4 = MeasureCPULoadCore4
Measurename = MeasureCPU
Measurename2 = MeasureCores
MeterStyle = InfoStyle
StringAlign = Right
X = ([MeterBackground1:W]-10)
Y = r
Text = %1% / %2% / %3% / %4%
Text = %1% (%NUMBER_OF_PROCESSORS% %2)

; RAM
[MeterRAMLabel]
Expand Down

0 comments on commit 6cb6c22

Please sign in to comment.