MagicMirror/js/defaults.js

59 lines
974 B
JavaScript
Raw Normal View History

2016-03-24 17:19:32 +01:00
/* exported defaults */
/* Magic Mirror
* Config Defauls
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var defaults = {
2016-04-03 20:27:32 +02:00
port: 8080,
2016-03-24 17:19:32 +01:00
2016-04-05 14:35:11 -04:00
language: "en",
2016-03-29 13:28:15 +02:00
timeFormat: 24,
units: "metric",
2016-03-24 17:19:32 +01:00
modules: [
{
2016-04-05 14:35:11 -04:00
module: "helloworld",
position: "upper_third",
2016-04-09 15:49:39 +02:00
classes: "large thin",
2016-03-24 17:19:32 +01:00
config: {
2016-04-09 15:49:39 +02:00
text: "Magic Mirror<sup>2</sup>"
2016-03-24 17:19:32 +01:00
}
},
{
2016-04-05 14:35:11 -04:00
module: "helloworld",
position: "middle_center",
2016-03-24 17:19:32 +01:00
config: {
2016-04-05 14:35:11 -04:00
text: "Please create a config file."
2016-03-24 17:19:32 +01:00
}
},
{
2016-04-05 14:35:11 -04:00
module: "helloworld",
position: "middle_center",
2016-04-09 15:49:39 +02:00
classes: "small dimmed",
2016-03-24 17:19:32 +01:00
config: {
2016-04-09 15:49:39 +02:00
text: "See README for more information."
2016-03-24 17:19:32 +01:00
}
},
{
2016-04-05 14:35:11 -04:00
module: "helloworld",
position: "bottom_bar",
2016-04-09 15:49:39 +02:00
classes: "xsmall dimmed",
2016-03-24 17:19:32 +01:00
config: {
2016-04-09 15:49:39 +02:00
text: "www.michaelteeuw.nl"
2016-03-24 17:19:32 +01:00
}
},
],
paths: {
2016-04-05 14:35:11 -04:00
modules: "modules",
vendor: "vendor"
2016-03-24 17:19:32 +01:00
},
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
2016-04-05 14:35:11 -04:00
if (typeof module !== "undefined") {module.exports = defaults;}