-
Notifications
You must be signed in to change notification settings - Fork 0
/
multitimer.conf
83 lines (67 loc) · 1.69 KB
/
multitimer.conf
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
; To check: http://your.vhost/multitimer/
[import]
configuration = common
[config]
renderer = Gd
format = gif
layout = txtgentime,curtime,txtNYtime,txtParistime,timerNY,timerParis
dimensions = 210,190
bgcolor = 255,255,255
interval = 1
frames = 20
[txtgentime]
type = Text
string = 'Server query time:'
font = LibMono
size = 12
color = 255,0,0
position = 10,10
opacity = 100
; Same properties as type text, except that string is a date format
; See http://php.net/manual/en/datetime.createfromformat.php
[curtime]
type = Date
; timezone = 'Europe/Paris'
string = 'Y-m-d H:i:s'
font = LibMono
size = 12
color = 0,0,255
position = 10,40
opacity = 100
[txtNYtime]
type = Text
string = 'New York:'
font = LibMono
size = 12
color = 255,0,0
position = 10,70
opacity = 100
[txtParistime]
type = Text
string = 'Paris:'
font = LibMono
size = 12
color = 255,0,0
position = 10,130
opacity = 100
; Dynamic elements have to be drawn at the end right now
; Timer element: the interval and number of frames is inherited from the "output" section
; "timezone" => Use one from http://php.net/manual/en/timezones.php, like 'America/New_York' or 'Europe/Paris'
; "string" => string compatible with DateTime (like "2017/08/17 23:04:15")
; "frames" => number of frames to prepare relaive to the date/time of the rendering
[timerNY]
type = DateTimer
font = LibMono
timezone = 'America/New_York'
string = 'Y-m-d H:i:s'
color = 255,0,255
position = 10,100
opacity = 100
[timerParis]
type = DateTimer
font = LibMono
timezone = 'Europe/Paris'
string = 'Y-m-d H:i:s'
color = 0,150,0
position = 10,160
opacity = 100