-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyears.ini
106 lines (94 loc) · 4.16 KB
/
years.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
[Rainmeter]
Update=10000
AccurateText=1
DynamicWindowSize=1
BackgroundMargins=15,15,15,15
[Metadata]
Name=Elapsed (Life)
Version=1.0
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Author=Danilo Fascio
Information=The time elapsed from your birth in YEARS
[Variables]
@include=variables.inc
#Width=800
labelTitle="Uma vida de 90 anos em ANOS"
labelDescription="Cada linha = 10 anos"
labelLuaMarkupStart="Início dos"
labelLuaMarkupYears="Anos"
# https://www.w3schools.com/charsets/ref_emoji.asp
hexaPast=e924
hexaPresent=e7f7
hexaFuture=e53e
labelBirthdate="Data de Nascimento"
# Get the birthdate from the 'elapsed.inc' file
Date=#BirthDate#
[Today]
Measure=Time
Format=%d/%m/%Y
[Birth]
Measure=Time
TimeStamp=#BirthDate#
TimeStampFormat=%d/%m/%Y
[Difference]
Measure=Calc
Formula=ABS([Today:TimeStamp] - [Birth:]) / 31556952
DynamicVariables=1
[Lua]
Measure=Script
ScriptFile=elapsed.lua
UpdateDivider=-1
[MeterTitle]
Meter=String
X=0
Y=0
Padding=2,10,2,2 #left,top,right,bottom
AntiAlias=1
FontColor=255,255,255
FontEffectColor=1,1,1,200
FontSize=22
;FontWeight=
FontFace=Segoe UI
;StringAlign=
;StringStyle=
StringEffect=Shadow
Text=#labelTitle#
[MeterBirthdate]
Meter=String
X=0
Y=52
Padding=2,10,2,10
AntiAlias=1
FontColor=255,255,255
FontSize=12
Text=#labelBirthdate#: #Date#
[MeterDescription]
Meter=String
X=0
Y=90
Padding=2,2,2,10
AntiAlias=1
FontColor=255,255,255
FontSize=12
Text=#labelDescription#
[MeterYears]
Meter=String
DynamicVariables=1
X=0
Y=120
AntiAlias=1
Padding=15,15,15,15
SolidColor=47,47,47,155
FontColor=255,255,255,255
FontWeight=500
FontSize=16
;FontFace=
InlineSetting=Face | Material Icons
InlinePattern=[\x#hexaPast#]|[\x#hexaPresent#]|[\x#hexaFuture#]
InlineSetting2=Color | 242,104,104,255
InlinePattern2=[\x#hexaPast#]
InlineSetting3=Color | 125,239,118,255
InlinePattern3=[\x#hexaPresent#]
InlineSetting4=Color | 6,176,37,255
InlinePattern4=[\x#hexaFuture#]
Text=[&Lua:Elapsed('#hexaPast#','#hexaPresent#','#hexaFuture#','years',[&Difference],10,90,20,60)]