From fab48e10c391eb9ea98044e3cf23433e275be675 Mon Sep 17 00:00:00 2001 From: Jordan Welch Date: Wed, 24 Jan 2024 22:24:56 -0600 Subject: [PATCH 1/2] fix typos --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1991e03b..7bc77a2d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MMM-Pir -After a configurated time without any user interaction the display will turn off and hide all modules for economy mode.
+After a configured time without any user interaction the display will turn off and hide all modules for economy mode.
It will wake up with a Pir sensor ## Screenshot @@ -13,7 +13,7 @@ It will wake up with a Pir sensor **Minimal node version requirement: v18** -Clone the module into your MagicMirror module folder and execute `npm intall` in the module's directory. +Clone the module into your MagicMirror module folder and execute `npm install` in the module's directory. ``` cd ~/MagicMirror/modules git clone https://github.com/bugsounet/MMM-Pir @@ -57,7 +57,7 @@ To display the module insert it in the config.js file. | Option | Description | Type | Default | | ------- | --- | --- | --- | - | debuf | enable or not debug mode | Boolean | false | + | debug | enable or not debug mode | Boolean | false | | delay | Time before the mirror turns off the display if no user activity is detected. (in ms) | Number | 120000 | | turnOffDisplay | Should the display turn off after timeout? | Boolean | true | | mode | mode for turn on/off your screen (see bellow) | number | 1 | From 774b7e6e2fbd095682707665a33a6d69cc33fd45 Mon Sep 17 00:00:00 2001 From: Jordan Welch Date: Wed, 24 Jan 2024 22:25:25 -0600 Subject: [PATCH 2/2] add `sh` type to shell section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7bc77a2d..8f2610ea 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ It will wake up with a Pir sensor **Minimal node version requirement: v18** Clone the module into your MagicMirror module folder and execute `npm install` in the module's directory. -``` +```sh cd ~/MagicMirror/modules git clone https://github.com/bugsounet/MMM-Pir cd MMM-Pir