-
Notifications
You must be signed in to change notification settings - Fork 1
/
StyleSheetVars.inc
197 lines (155 loc) · 5.18 KB
/
StyleSheetVars.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
[Variables]
;Global
;Colors
BackgroundColor=31,31,31,255
PrimaryColor=255,161,0,255
PrimaryColorDark=110,69,0,255
SecondaryColor=16,131,255
SecondaryColorDark=9,76,147,255
; Maximally contrasting colors
CC1=#PrimaryColor#
; Green
CC2=128,255,0,255
; Red
CC3=255,0,0,255
; Dark Blue
CC4=56,0,232,255
; Light blue
CC5=14,215,222,255
LowColor=0,255,0,255
MidColor=255,255,0,255
HighColor=255,0,0,255
;Fonts
MonoFont=Anonymous Pro
PrimaryFont=Helvetica
SecondaryFont=Furore
; Misc
SkinWidth=290
SkinPadding=5
GaugeRotationAngle=240
HistogramHeight=100
LineGraphWidth=.1
;Skin-specific
;Clock
Locale=ru-RU
; Default to ISO-8601 HH:MM:SS
ClockFormat=%T
MinClockFormat=%H.%M.%S
LongDateFormat=%e %B, %Y
MinDateFormat=%D
TimeColor=#PrimaryColor#
DateColor=#PrimaryColor#
DayColor=#PrimaryColor#
;Counts
DayCtColor=#SecondaryColor#
WeekCtColor=#SecondaryColor#
;Controls both counts' colors when they're assigned as one
CountColor=#SecondaryColor#
;Uptime
UptimeColor=#CC3#
;PrimaryGauge
CPUColor=#PrimaryColor#
RAMColor=#SecondaryColor#
PrimaryGaugeColor=155,155,155,255
PrimaryGaugeFillColor=0,0,0,255
PrimaryTickColor=255,255,255,255
; Bad things will probably happen if the gauge isn't perfectly square
PrimaryWidth=160
PrimaryHeight=#PrimaryWidth#
; Width of the gauge face, in device-independent pixels
PrimaryEdgeWidth=1.5
PrimaryInnerEdgeWidth=2
PrimaryInnerEdgeRadius=(#PrimaryArcStart#-#PrimaryInnerEdgeWidth#/2)
; Width of the RAM arc
PrimaryArcWidth=(#PrimaryEdgeWidth#*#PrimaryTickScale#*2.5)
; Starting radius of the RAM arc, as calculated from the gauge internal radius and above variable - don't modify formula
PrimaryArcStart=(#PrimaryWidth#/2-#PrimaryEdgeWidth#/2-#PrimaryArcWidth#)
; Size of the ticks as a scalar multiple of the gauge stroke
PrimaryTickScale=5
; Arc length of the gaps as a scalar multiple of the tick arc length (i.e. tick-lengths per gap)
PrimaryTickGapScale=8
; Number of ticks on the face
PrimaryTicks=11
; arc length = 14 ticks' + 13 gaps' length
; 2 * pi * r * 240/360 = (14x + 13y) * stroke
; 4pi/3 * r = (14x + 26x) * stroke where gap length = 2 * tick length
; 4pi/(3 * stroke) * r = 40x
; x = (4pi * r)/(3 * stroke) / 40
; generally, x = (theta * pi * r)/(180*stroke) / (c + k(c-1)) where c is the number of ticks desired and k is the gap scalar and theta is the angle of rotation
PrimaryTickWidth=(#GaugeRotationAngle#*PI*(#PrimaryTickRadius#)/(180*#PrimaryEdgeWidth#*#PrimaryTickScale#)/(#PrimaryTicks# + #PrimaryTickGapScale#*(#PrimaryTicks#-1)))
; Arc length of gap between ticks - don't modify formula
PrimaryTickGap=(#PrimaryTickGapScale#*#PrimaryTickWidth#)
; Half the height of a tick plus half the width of the gauge face - this number is the radial distance the ticks have to be offset if against the gauge face
;PrimaryTickOffset=(#PrimaryEdgeWidth#/2+#PrimaryEdgeWidth#/2*#PrimaryTickScale#)
; Half the height of a tick - this number is the radial distance the ticks have to be offset if free-floating
PrimaryTickOffset=(#PrimaryEdgeWidth#/2*#PrimaryTickScale#)
; Half the width of the gauge minus tick offset - this justifies the ticks against the gauge face when used in conjunction with the first tick offset option above
;PrimaryTickRadius=(#PrimaryWidth#/2-#PrimaryTickOffset#)
; Radius of the inside of the RAM arc minus tick offset - this justifies the ticks against the inside of the RAM arc when used in conjunction with the second tick offset option above
PrimaryTickRadius=(#PrimaryArcStart#+#PrimaryTickOffset#)
PrimaryTickCap=Flat
; Indicators
; Power
ACColor=#PrimaryColor#
BatteryNominalColor=#LowColor#
BatteryMidColor=#MidColor#
BatteryCriticalColor=#HighColor#
BatteryLifetimeFormat=%H:%M
; Wifi
;CoreTemp
CoreNominalColor=#LowColor#
CoreMediumColor=#MidColor#
CoreHighColor=#HighColor#
CoreTempGaugeFillColor=0,0,0,255
CoreTempGaugeColor=155,155,155,255
CoreTempGaugeWidth=68
CoreTempGaugeHeight=#CoreTempGaugeWidth#
CoreTempGaugePadding=2
;CoreLoad
Core0Color=#CC1#
Core1Color=#CC2#
Core2Color=#CC3#
Core3Color=#CC4#
;Drives/Network
Drive1Color=#PrimaryColor#
Drive1ColorBkg=#PrimaryColorDark#
Drive2Color=#SecondaryColor#
Drive2ColorBkg=#SecondaryColorDark#
MixColor=#CC3#
DLColor=#CC2#
ULColor=#CC5#
LANColor=#PrimaryColor#
; Number of network samples to average over - 1 = no smoothing
NetSmoothing=5
;Audio Status
AudioColor=#PrimaryColor#
AudioColorBkg=#PrimaryColorDark#
;Visualizer
VisualizerBkg=0,0,0,255
VisualizerPort=Output
VisualizerAltPort=Input
RMSAttack=300
RMSDecay=750
PeakAttack=300
PeakDecay=750
FFTSensitivity=55
FFTSize=512
FFTAttack=30
FFTDecay=300
VisualizerCellHeight=7
VisualizerCellPadding=1
VisualizerCellHeightPadded=(#VisualizerCellHeight#+#VisualizerCellPadding#)
VisualizerCellRadius=3
VisualizerWidth=12
VisualizerHeight=(#VisualizerCellHeightPadded#*15-#VisualizerCellPadding#)
VisualizerPeakWidth=8
VisualizerPeakHeight=8
VisualizerPeakMidpoint=(#VisualizerPeakHeight#/2)
FFTWidth=20
FFTHeight=132
;Spotify
SongColor=#PrimaryColor#
ArtistColor=#SecondaryColor#
AlbumColor=#CC3#
ControlsColor=#PrimaryColor#
ControlsColorBkg=#PrimaryColorDark#