Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 1.49 KB

README.md

File metadata and controls

72 lines (58 loc) · 1.49 KB

MMM-Confucius-say: A MagicMirror Module

Displays some Confucius say quotes.

Example

Installing the module

Clone this repository in your ~/MagicMirror/modules/ folder:

git clone https://github.com/jttaylor/MMM-Confucius-say

Using the module

Add the module to the ~/MagicMirror/config/config.js file:

modules: [
		{
			module: 'MMM-Confucius-say',
			position: 'bottom_bar',
		}
]

You may also add configurations:

modules: [
		{
			module: 'MMM-Confucius-say',
			position: 'bottom_bar',
			config: {
					updateInterval: 5,
					fadeSpeed: 4,
					category: 'random',
			}
		}
]

Configuration options

Options Description
updateInterval Time it takes for the quote to change in seconds
fadeSpeed Time it takes for the quote to fade out in seconds.
category Default is random, but you can choose specific categories such as lewd, serious, other. Feel free to add your own as well!

How to add your own quotes

You can edit the MMM-Confucius-say.js file, if you are comfortable merging them with any remote changes. Alternatively, you may fork this repository to have an exclusive copy you can edit without conflicts.