/
MeasureStyling.inc
102 lines (96 loc) · 3.88 KB
/
MeasureStyling.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[MeasureStaticColor]
Measure=String
String=#Color#
UpdateDivider=-1
[MeasureStaticColorText]
Measure=String
String=#TextColor#
UpdateDivider=-1
[MeasureGetCoverColor]
Measure=Plugin
Plugin=Chameleon
Type=File
Path=[MeasureCover]
[MeasureCoverColor]
Measure=Plugin
Plugin=Chameleon
Parent=MeasureGetCoverColor
Format=Dec
Color=Background1
Substitute="":"#Color#"
OnChangeAction=[!UpdateMeasure "CalcColors"]
[MeasureWindowsColor]
Measure=Plugin
Plugin=SysColor
DisplayType=RGB
ColorType=DWM_COLOR
OnChangeAction=[!UpdateMeasure "CalcColors"]
[MeasureGenre]
Measure=NowPlaying
PlayerName=#PlayerName#
PlayerType=Genre
; You can add your own genres here.
; Use | as dividier and replace spaces with \s (otherwise it won't work)
; Electro
IfMatch=Electro
IfMatchAction=[!SetVariable GenreColor "#Electro#"]
; Electronic/EDM
IfMatch2=EDM|Electronic|Breaks|Chillout|Bounce|Chill|Techno
IfMatchAction2=[!SetVariable GenreColor "#EDM#"]
; House/Progressive House
IfMatch3=House|Electro\sHouse|Progressive\sHouse
IfMatchAction3=[!SetVariable GenreColor "#House#"]
; Drum & Bass
IfMatch4=Drum\s&\sBass|DnB
IfMatchAction4=[!SetVariable GenreColor "#DnB#"]
; Dubstep
IfMatch5=Dubstep
IfMatchAction5=[!SetVariable GenreColor "#Dubstep#"]
; Drumstep
IfMatch6=Drumstep|Halftime
IfMatchAction6=[!SetVariable GenreColor "#Drumstep#"]
; Glitch Hop
IfMatch7=Glitch\sHop|GlitchHop|Moombahton
IfMatchAction7=[!SetVariable GenreColor "#GlitchHop#"]
; Trap
IfMatch8=Trap
IfMatchAction8=[!SetVariable GenreColor "#Trap#"]
; Trance
IfMatch9=Trance|Deep\sHouse|Psytrance
IfMatchAction9=[!SetVariable GenreColor "#Trance#"]
; Hard Dance
IfMatch10=Hard\sDance|Hardcore|Happy\sHardcore
IfMatchAction10=[!SetVariable GenreColor "#HardDance#"]
; Nu Disco/Indie Dance
IfMatch11=Nu\sDisco|NuDisco|Disco|Indie\sDance|Electro\sSwing
IfMatchAction11=[!SetVariable GenreColor "#NuDisco#"]
; Future Bass
IfMatch12=Future|Future\sBass
IfMatchAction12=[!SetVariable GenreColor "#FutureBass#"]
; Here is an example for an custom genre. Colors need to be rgb(a) values.
IfMatch13=Mashup|Mash\sUp
IfMatchAction13=[!SetVariable GenreColor "192,255,99"]
Substitute="":"#Color#"
OnChangeAction=[!UpdateMeasure "CalcColors"]
Disabled=1
[CalcColors]
Measure=Calc
IfConditionMode=1
IfCondition= (#EnableDynamicColors# = 0) && (#EnableDynamicFontColors# = 0)
IfTrueAction=[!SetVariable Color "[MeasureStaticColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition2= (#EnableDynamicColors# = 1) && (#EnableDynamicFontColors# = 0)
IfTrueAction2=[!SetVariable Color "#GenreColor#"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition3= (#EnableDynamicColors# = 2) && (#EnableDynamicFontColors# = 0)
IfTrueAction3=[!SetVariable Color "[MeasureCoverColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition4= (#EnableDynamicColors# = 3) && (#EnableDynamicFontColors# = 0)
IfTrueAction4=[!SetVariable Color "[MeasureWindowsColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition5= (#EnableDynamicColors# = 0) && (#EnableDynamicFontColors# = 1)
IfTrueAction5=[!SetVariable Color "[MeasureStaticColor]"][!SetVariable TextColor "[MeasureStaticColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition6= (#EnableDynamicColors# = 1) && (#EnableDynamicFontColors# = 1)
IfTrueAction6=[!SetVariable Color "#GenreColor#"][!SetVariable TextColor "#GenreColor#"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition7= (#EnableDynamicColors# = 2) && (#EnableDynamicFontColors# = 1)
IfTrueAction7=[!SetVariable Color "[MeasureCoverColor]"][!SetVariable TextColor "[MeasureCoverColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
IfCondition8= (#EnableDynamicColors# = 3) && (#EnableDynamicFontColors# = 1)
IfTrueAction8=[!SetVariable Color "[MeasureWindowsColor]"][!SetVariable TextColor "[MeasureWindowsColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
UpdateDivider=-1
DynamicVariables=1