jeffbarr / MMM-MonthlyCalendar

Add display options

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module: MMM-MonthlyCalendar

The module allows you to view your calendar events in a monthly calendar view.

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/kolbyjack/MMM-MonthlyCalendar.git

Configure the module in your config.js file.

Note: After starting the Mirror, it will take a few seconds before events start to appear.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
  {
    module: "MMM-MonthlyCalendar",
    position: "bottom_bar",
    config: { // See "Configuration options" for more information.
      mode: "fourWeeks",
    }
  }
]

Configuration options

The following properties can be configured:

Option Default Description
mode "currentMonth" Which type of calendar to show. Possible values are currentMonth, currentWeek, twoWeeks, threeWeeks, fourWeeks, and sixweeks.
displaySymbol false Whether to show symbols next to events.
firstDayOfWeek "sunday" Which day to use as the start of the week.
hideCalendars [] A list of calendar names to hide from the view.
showWeekNumber false Whether to show the week number of the first day of each row.
wrapTitles false Whether to allow event titles to wrap across multiple lines or truncate them.

About

Add display options

License:MIT License


Languages

Language:JavaScript 91.6%Language:CSS 8.4%