polybar-scripts/polybar-scripts/openweathermap-detailed
2018-01-21 13:37:30 +01:00
..
2018-01-04 03:09:58 +01:00
2018-01-21 13:37:30 +01:00

Script: openweathermap-detailed

A weather script that displays some weather information.

It shows icons, temperatures and text for the current weather. The script can be easily modified to display a forecast. Look at the commented out line.

If CITY is left empty, the location is retrieved via the Mozilla Location API.

Change these values:

KEY=""
CITY=""
UNITS="metric"
SYMBOL="°"

openweathermap-detailed

Dependencies

Module

[bar/polybar]
...
font-2 = Weather Icons:size=12;1
...
[module/openweathermap-detailed]
type = custom/script
exec = ~/polybar-scripts/openweathermap-detailed.sh
interval = 600
label-font = 3