Skip to main content

Overview

A beautiful dual clock showing both digital and analog time. Includes date display and configurable options.
Clock plugin

Features

  • 🕐 Digital display — large, readable time
  • 📅 Date display — full date with day of week
  • ⏱️ Analog clock — SVG-rendered with hour markers
  • 🔢 12h / 24h toggle — switch time format
  • Seconds toggle — show or hide seconds
  • 💾 Settings persist — format and seconds preferences saved

Events

EventPayloadWhen
clock:tick{ hours, minutes, seconds, date }Every tick (250ms or 1s)
Other plugins can listen to clock:tick for time-based features.

Installation

Included by default in plugins.json:
{
  "id": "clock",
  "url": "./plugins/clock/plugin.js",
  "name": "Clock"
}

Storage Keys

KeyTypeDefaultDescription
clock-24hbooleanfalseUse 24-hour format
clock-secondsbooleantrueShow seconds

File

plugins/clock/plugin.js