forked from tech189/Ab-Urbe-Condita
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AUCRainmeterWidget.ini
156 lines (140 loc) · 2.54 KB
/
AUCRainmeterWidget.ini
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
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[Metadata]
Name=Ab Urbe Condita
Author=tech189
Information=Displays time and date in Roman system
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1
[Variables]
; LightBackground=230,230,230,217
; DarkBackground=24,24,24,217
; LightFontColour=#000000
; DarkFontColour=#FFFFFF
Background=24,24,24,217
FontClr=FFFFFF
[MeasureTheme]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
RegValue=AppsUseLightTheme
[ConvertToNum]
Measure=Calc
Formula=[MeasureTheme]
IfAboveValue=0
IfAboveAction=[!SetVariable Background "255,255,255,220"][!SetVariable FontClr "000000"][!Redraw]
IfBelowValue=1
IfBelowAction=[!SetVariable Background "24,24,24,217"][!SetVariable FontClr "FFFFFF"][!Redraw]
DynamicVariables=1
[MeasureSite]
Measure=Plugin
Plugin=WebParser
URL=https://tech189.dev/auc?json=true
RegExp=(?siU)"date": "(.*)".*"time": "(.*)".*"day": "(.*)".*"date": "(.*)".*"year": "(.*)"
UpdateRate=600
[MeasureNormalDate]
Measure=Plugin
Plugin=WebParser
URL=[MeasureSite]
StringIndex=1
[MeasureRomanTime]
Measure=Plugin
Plugin=WebParser
URL=[MeasureSite]
StringIndex=2
[MeasureRomanDay]
Measure=Plugin
Plugin=WebParser
URL=[MeasureSite]
StringIndex=3
[MeasureRomanDate]
Measure=Plugin
Plugin=WebParser
URL=[MeasureSite]
StringIndex=4
[MeasureRomanYear]
Measure=Plugin
Plugin=WebParser
URL=[MeasureSite]
StringIndex=5
[MeterBackground]
Meter=Image
W=400
H=160
SolidColor=#Background#
DynamicVariables=1
; [MeterDebugTheme]
; Meter=String
; MeasureName=MeasureTheme
; X=350
; Y=10
; W=30
; H=10
; FontSize=13
; FontColor=#FFFFFF
; FontFace=Segoe UI
; FontWeight=700
; StringAlign=Left
; AntiAlias=1
[MeterRomanTime]
Meter=String
MeasureName=MeasureRomanTime
X=15
Y=10
W=350
H=100
FontSize=18
FontColor=#FontClr#
FontFace=Segoe UI Light
FontWeight=400
StringAlign=Left
AntiAlias=1
ClipString=1
DynamicVariables=1
[MeterRomanDay]
Meter=String
MeasureName=MeasureRomanDay
X=15
Y=45
W=350
H=100
FontSize=18
FontColor=#FontClr#
FontFace=Segoe UI Light
FontWeight=400
StringAlign=Left
AntiAlias=1
ClipString=1
DynamicVariables=1
[MeterRomanDate]
Meter=String
MeasureName=MeasureRomanDate
X=15
Y=80
W=350
H=100
FontSize=18
FontColor=#FontClr#
FontFace=Segoe UI Light
FontWeight=400
StringAlign=Left
AntiAlias=1
ClipString=1
DynamicVariables=1
[MeterRomanYear]
Meter=String
MeasureName=MeasureRomanYear
X=15
Y=115
W=350
H=50
FontSize=18
FontColor=#FontClr#
FontFace=Segoe UI Light
FontWeight=400
StringAlign=Left
AntiAlias=1
ClipString=1
DynamicVariables=1