diff options
author | Christian Hesse <mail@eworm.de> | 2022-05-12 11:04:12 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-05-12 11:04:12 +0200 |
commit | 12655bd58afc3a75fe3e2958bbe130b96f8b9be7 (patch) | |
tree | d5b33fb62e10637d70d8d0616437294ceb15ed9f /doc/leds-mode.md | |
parent | 48f0a2d21118a7bff7d598e84d9f606fb30bf07a (diff) | |
parent | 09d926ed2fefb570d9810970306037910d6926d9 (diff) |
Merge branch 'doc' into ros-v7-path-syntax
Diffstat (limited to 'doc/leds-mode.md')
-rw-r--r-- | doc/leds-mode.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/leds-mode.md b/doc/leds-mode.md index b525220..65f9f01 100644 --- a/doc/leds-mode.md +++ b/doc/leds-mode.md @@ -21,21 +21,21 @@ Usage and invocation To switch the device to dark mode: - / system script run leds-night-mode; + /system/script/run leds-night-mode; ... and back to normal mode: - / system script run leds-day-mode; + /system/script/run leds-day-mode; To toggle between the two modes: - / system script run leds-toggle-mode; + /system/script/run leds-toggle-mode; Add these schedulers to switch to dark mode in the evening and back to normal mode in the morning: - / system scheduler add interval=1d name=leds-day-mode on-event="/ system script run leds-day-mode;" start-time=07:00:00; - / system scheduler add interval=1d name=leds-night-mode on-event="/ system script run leds-night-mode;" start-time=21:00:00; + /system/scheduler/add interval=1d name=leds-day-mode on-event="/system/script/run leds-day-mode;" start-time=07:00:00; + /system/scheduler/add interval=1d name=leds-night-mode on-event="/system/script/run leds-night-mode;" start-time=21:00:00; The script `leds-toggle-mode` can be used from [mode button](mode-button.md) to toggle mode. |