Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

positions.js 879B

12345678910111213141516171819202122232425262728
  1. /* Magic Mirror Test config for position setters module using the helloworld module
  2. *
  3. * By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
  4. * MIT Licensed.
  5. */
  6. let config = {
  7. modules:
  8. // Using exotic content. This is why don't accept go to JSON configuration file
  9. (function () {
  10. let positions = ["top_bar", "top_left", "top_center", "top_right", "upper_third", "middle_center", "lower_third", "bottom_left", "bottom_center", "bottom_right", "bottom_bar", "fullscreen_above", "fullscreen_below"];
  11. let modules = Array();
  12. for (let idx in positions) {
  13. modules.push({
  14. module: "helloworld",
  15. position: positions[idx],
  16. config: {
  17. text: "Text in " + positions[idx]
  18. }
  19. });
  20. }
  21. return modules;
  22. })()
  23. };
  24. /*************** DO NOT EDIT THE LINE BELOW ***************/
  25. if (typeof module !== "undefined") {
  26. module.exports = config;
  27. }