Add rainmeter skin
This commit is contained in:
204
rainmeter/Appunti/notes/notes.ini
Normal file
204
rainmeter/Appunti/notes/notes.ini
Normal file
@@ -0,0 +1,204 @@
|
||||
[Rainmeter]
|
||||
; update once an hour=60 * 60 * 1000 / 10 (from MeasureNotes.UpdateRate)
|
||||
Update=360000
|
||||
DynamicWindowSize=1
|
||||
LeftMouseUpAction = [#AppuntiServer#]
|
||||
|
||||
[Metadata]
|
||||
Name=Appunti Notes
|
||||
Author=Ceda EI
|
||||
Information=https://gitlab.com/ceda_ei/appunti
|
||||
License=AGPL-3.0
|
||||
|
||||
[Variables]
|
||||
AppuntiServer=
|
||||
AuthToken=
|
||||
|
||||
[MeasureNotes]
|
||||
Measure=WebParser
|
||||
URL=#AppuntiServer#/api/notes/
|
||||
Header="Authorization: Token #AuthToken#"
|
||||
RegExp=(?siU)^(.*)$
|
||||
; low updateRate (like 1 or 2) causes WebParser to spam the webserver
|
||||
; regardless of the high Rainmeter.Update value. Setting it to 10 and
|
||||
; Rainmeter.Update to 360000 makes one request every hour.
|
||||
UpdateRate=10
|
||||
FinishAction=[!Update][!Update]
|
||||
|
||||
[MeasureNote1]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[0].note"
|
||||
IFMatch="^$"
|
||||
IFMatchAction=[!HideMeterGroup Note1][!ShowMeterGroup NoNotes]
|
||||
IFNotMatchAction=[!ShowMeterGroup Note1][!HideMeterGroup NoNotes]
|
||||
|
||||
[MeasureNote1.From]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[0].from_user.visible_name"
|
||||
|
||||
[MeasureNote1.Created]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[0].created_at"
|
||||
|
||||
[MeasureNote2]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[1].note"
|
||||
IFMatch="^$"
|
||||
IFMatchAction=[!HideMeterGroup Note2]
|
||||
IFNotMatchAction=[!ShowMeterGroup Note2]
|
||||
|
||||
[MeasureNote2.From]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[1].from_user.visible_name"
|
||||
|
||||
[MeasureNote2.Created]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[1].created_at"
|
||||
|
||||
[MoreNotes]
|
||||
Measure=Plugin
|
||||
Plugin=JsonParser.dll
|
||||
Source=[MeasureNotes]
|
||||
Query="[2].note"
|
||||
IFMatch="^$"
|
||||
IFMatchAction=[!HideMeterGroup MoreNotes]
|
||||
IFNotMatchAction=[!ShowMeterGroup MoreNotes]
|
||||
|
||||
[MeterNote1.Back]
|
||||
Meter=Shape
|
||||
Shape=Rectangle 0,0,340,([MeterNote1.Created:YH] + 20),10,10 | Fill Color 212,242,216,255 | StrokeWidth 4 | Stroke Color 30,30,30,102
|
||||
AntiAlias=1
|
||||
DynamicVariables=1
|
||||
Group=Note1
|
||||
|
||||
[MeterNote1]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=20
|
||||
Y=20
|
||||
W = 300
|
||||
MeasureName=MeasureNote1
|
||||
ClipString=2
|
||||
Text=%1
|
||||
AntiAlias=1
|
||||
Group=Note1
|
||||
|
||||
[MeterNote1.From]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=320
|
||||
Y=5R
|
||||
W = 300
|
||||
MeasureName=MeasureNote1.From
|
||||
ClipString=2
|
||||
Text=By: %1
|
||||
StringAlign=Right
|
||||
Group=Note1
|
||||
|
||||
[MeterNote1.Created]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=320
|
||||
Y=5R
|
||||
W = 300
|
||||
MeasureName=MeasureNote1.Created
|
||||
ClipString=2
|
||||
Text=At: %1
|
||||
StringAlign=Right
|
||||
Group=Note1
|
||||
|
||||
[MeterNote2.Back]
|
||||
Meter=Shape
|
||||
Shape=Rectangle 360,0,340,([MeterNote2.Created:YH] + 20),10,10 | Fill Color 250,201,220,255 | StrokeWidth 4 | Stroke Color 30,30,30,102
|
||||
DynamicVariables=1
|
||||
Group=Note2
|
||||
|
||||
[MeterNote2]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=380
|
||||
Y=20
|
||||
W = 300
|
||||
MeasureName=MeasureNote2
|
||||
ClipString=2
|
||||
Text=%1
|
||||
AntiAlias=1
|
||||
Group=Note2
|
||||
|
||||
[MeterNote2.From]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=680
|
||||
Y=5R
|
||||
W = 300
|
||||
MeasureName=MeasureNote2.From
|
||||
ClipString=2
|
||||
Text=By: %1
|
||||
StringAlign=Right
|
||||
Group=Note2
|
||||
|
||||
[MeterNote2.Created]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=680
|
||||
Y=5R
|
||||
W = 300
|
||||
MeasureName=MeasureNote2.Created
|
||||
ClipString=2
|
||||
Text=At: %1
|
||||
StringAlign=Right
|
||||
Group=Note2
|
||||
|
||||
[MeterMoreNotes.Back]
|
||||
Meter=Shape
|
||||
Shape=Rectangle 720,0,340,([MeterMoreNotes:YH] + 20),10,10 | Fill Color 164,214,247,255 | StrokeWidth 4 | Stroke Color 30,30,30,102
|
||||
AntiAlias=1
|
||||
DynamicVariables=1
|
||||
Group=MoreNotes
|
||||
|
||||
[MeterMoreNotes]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=740
|
||||
Y=20
|
||||
W = 300
|
||||
Text=Click to View More Notes
|
||||
AntiAlias=1
|
||||
Group=MoreNotes
|
||||
|
||||
[MeterNoNotes.Back]
|
||||
Meter=Shape
|
||||
Shape=Rectangle 0,0,340,([MeterNoNotes:YH] + 20),10,10 | Fill Color 255,243,114,255 | StrokeWidth 4 | Stroke Color 30,30,30,102
|
||||
AntiAlias=1
|
||||
DynamicVariables=1
|
||||
Group=NoNotes
|
||||
|
||||
[MeterNoNotes]
|
||||
Meter=String
|
||||
FontFace=Comic Sans MS
|
||||
FontSize=12
|
||||
X=20
|
||||
Y=20
|
||||
W = 300
|
||||
Text=No Notes
|
||||
AntiAlias=1
|
||||
Group=NoNotes
|
||||
Reference in New Issue
Block a user