-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
any "clock" json parameters are now optional (#222)
This change allows to just switch back to the clock, without touching any parameters, and just display the clock as it was before. One can also specify parameters explicitly to enforce using those. Additionally "show" parameter has been removed, as it was basically unnecessary anyway. Backwards compatibility: It will work with and without providing it, as long as a "clock" json object is present. Minimum json, to trigger clock being displayed: ``` { "clock": {} } ``` Maximum (all parameters currently supported): ``` { "clock": { "fatFont": false, "switchAktiv": false, "switchSec": 5, "blinkAnimated": true, "withSeconds": false, "drawWeekDays": true, "hexColor": "#00FF00", "color": { "r": 0, "g": 255, "b": 0 } } ```
- Loading branch information
Showing
1 changed file
with
53 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters