-
Notifications
You must be signed in to change notification settings - Fork 4
/
example-config.js
74 lines (70 loc) · 1.88 KB
/
example-config.js
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
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert"
},
{
module: "MMM-ProfileSwitcher"
},
{
module: "MMM-TouchNavigation",
position: "bottom_center",
classes: "default everyone",
config: {
picturePlacement: "right",
minWidth: "40px",
buttons: {
"default": {
symbol: "ban"
},
"Brian": {
text: " Brian",
// img can be a url or a local path.
img: "https://forum.magicmirror.builders/uploads/profile/2349-profileimg.png",
width: "40"
},
"Lisa": {
text: "Lisa",
symbol: "paper-plane"
}
}
}
},
{
module: "clock",
classes: "everyone",
position: "top_left"
},
{
module: "clock",
classes: "default",
position: "middle_center",
config: {
analogShowDate: false,
displayType: "analog"
}
},
{
module: "helloworld",
classes: "Lisa",
position: "lower_third"
},
{
module: "helloworld",
position: "top_right",
classes: "Brian"
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}