Skip to content

Clock module for looking-glass

Notifications You must be signed in to change notification settings

glasslabs/clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Clock is a simple clock module for looking glass

Screenshot

Usage

Clone the clock into a path under your modules path and add the module path to under modules in your configuration.

modules:
 - name: simple-clock
    url:  https://github.com/glasslabs/clock/releases/download/v1.0.0/clock.wasm
    position: top:right
    config:
      timeFormat: 15:04

Configuration

Time Format (timeFormat)

Default: 15:04

Formats the time display of the clock using Go's time formatting syntax.

Date Format (dateFormat)

Default: Monday, January 2

Formats the date display of the clock using Go's time formatting syntax.

Time Zone (timezone)

Default: Local

The timezone name according to IANA Time Zone databse