Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.21 KB

README.md

File metadata and controls

67 lines (46 loc) · 2.21 KB

Übersicht Weather Widget

Nice and powerful weather widget for Übersicht.

阅读中文文档

🎉🎉🎉 Version 2.0! Upgrade from Dark Sky to Open Weather

Because Dark Sky no longer accepting new signups. Now this widget use Open Weather, please rest assured to use.

Screenshot

Screenshot

Install

Install Übersicht

Just downloading from Übersicht's website.

Download Widget

Check out the latest release, download the widget file Weather.jsx and put into Übersicht widgets folder.

Configure Widget

You can edit config in source file. To use this widget, you should at least get an Open Weather API Key here. Open Weather is a really good weather service and allows up to 60 free calls/minute or 1,000,000 free calls/month.

// Open Weather API Key https://openweathermap.org/api
const KEY = 'OPEN_WEATHER_API_KEY'
// language: en for English, zh for Chinese
const LANG = 'zh'
// standard(default), metric and imperial units are available.
const UNITS = 'metric'
// theme: light or dark
const theme = 'dark'
// background transparency. value from 0 to 1
const backgroundTransparency = 0.75
// widget position
const POSITION = {
  x: 'right', // x is left or right
  y: 'top', // y is top or bottom
  marginX: 20,
  marginY: 20
}

Enable Location Services

Weather widget need to use location services. Follow these steps to enable location services:

  • Go to System Preferences
  • Click the Security & Privacy
  • Click the Privacy tab
  • Select Location Services
  • Add Übersicht App

More information about Location Services.

Contribute

Have an idea for improving this widget? Open an issue or fork this repository and send a pull request 😜.

License

MIT