rafcontreras / Ubersicht-World-Clock-Widget

ubersitch-world-clock.widget
2 stars 2 forks source link

World Clock Widget

A Übersicht widget to display the time at different time zones. Can show multiple time zones from 1 to infinite (might not fit in your display). Dark mode support, sunrise/sunset aware.

Performance

The seconds, minutes, and hours pointers position change based on CSS animations, so it is a very low CPU/memory intensive widget. If your computer is running a resource intensive application, the CSS might fall behind, so I've decided to set a 30 minute refresh interval.

Usage

Edit the places.json file in the widget directory, you will need latitude (lat), longitude (lng), and timezone (timezone) of the clock you want to display, the possible timezones are included in the timezones.json file. These timezones are the ones available in MacOS. The name key is whatever you want to display on the clock face.

Latitude and Longitude Finder is a very good way to find the coordinates of almost any place.

{
  "name": "México City",
  "timezone": "America/Mexico_City",
  "lat": 19.451054,
  "lng": -99.125519
}

Cool stuff

Todo

Screenshots

Full screenshot in dark mode

Full screenshot in dark mode

Resized Resized

Multiple Clocks Multiple Clocks