Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any "clock" json parameters are now optional #222

Merged
merged 1 commit into from
Oct 23, 2022

Commits on Oct 21, 2022

  1. any "clock" json parameters are now optional

    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
            }
    }
    ```
    d4rkd3v1l committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    6ed8237 View commit details
    Browse the repository at this point in the history