Skip to content

Latest commit

 

History

History
 
 

openweathermap-simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Script: openweathermap-simple

A weather script that displays some weather information.

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

openweathermap-simple

Dependencies

Configuration

If CITY is left empty, the location is retrieved via the Mozilla Location API. An ID must be specified here. For example ID of Berlin is 2950159.

Change these values:

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

Module

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