Skip to content

weather

Weather

Displays current weather reports, including current temperature, sunrise time, and sunset time.

Configuration

weather:
  apiKey: "p0d13*********************************************c3"
  # From http://openweathermap.org/help/city_list.txt
  cityids:
  - 6173331
  - 3128760
  - 6167865
  - 6176823
  colors:
    current: "lightblue"
  enabled: true
  language: "EN"
  position:
    top: 0
    left: 2
    height: 1
    width: 1
  refreshInterval: 900
  tempUnit: "C"
  useEmoji: true

Screenshots

Weather

Attributes

Name Value
apiKey
Your OpenWeatherMap API key. Leave this blank to use the WTF_OWM_API_KEY environment variable.
cityids
A list of the OpenWeatherMap city IDs for the cities you want to view.
A list of positive integers.
colors.current
Optional The color to highlight the current temperature in. Default: green.
language
Optional The human language in which to present the weather data. Default: EN.
Any language identifier specified by OpenWeatherMap.
tempUnit
Optional The temperature scale in which to display temperature values. Default: C.
F for Fahrenheit, C for Celcius
useEmoji
Optional Whether or not to display emoji characters in the title. Default: true.
true, false

Keyboard

Key Action
/ Open/close the widget's help modal
h Show the previous weather location
l Show the next weather location
Show the previous weather location
Show the next weather location

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/weatherservices/weather