Nice and powerful weather widget for Übersicht.
Because Dark Sky no longer accepting new signups. Now this widget use Open Weather, please rest assured to use.
Just downloading from Übersicht's website.
Check out the latest release, download the widget file Weather.jsx
and put into Übersicht widgets folder.
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
}
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.
Have an idea for improving this widget? Open an issue or fork this repository and send a pull request 😜.