Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.41 KB

README.md

File metadata and controls

49 lines (41 loc) · 1.41 KB

MMM-CyanideHappiness

A module for MagicMirror2 that displays the daily Cyanide&Happiness Comic.

Installing

Step 1 - Install the module

cd ~/MagicMirror/modules
git clone https://github.com/werthdavid/MMM-CyanideHappiness.git
cd MMM-CyanideHappiness
npm install

Step 2 - Add module to ~MagicMirror/config/config.js

Add this configuration into config.js file's

{
    module: "MMM-CyanideHappiness",
    position: "bottom_bar",
    config: {
      updateInterval : 36000000,
      color: true,
      mode: "daily"
    }
}

Updating

Go to the module’s folder inside MagicMirror modules folder and pull the latest version from GitHub and install:

git pull
npm install

Configuring

Here is the configurable part of the module

Option Description
updateInterval Set to desired update interval (in ms), default is 3600000 (10 hours).
color display the image in color (true) or black/white (false) (defaults to black/white)
mode either daily or random (defaults to daily)

Modes

Heavily inspired by the awesome MagicMirror plugin MMM-DailyDilbert.