mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
b1335a3628
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
52 lines
2.5 KiB
Plaintext
52 lines
2.5 KiB
Plaintext
[weather]
|
|
; If you have a Weather Underground API key, provide it here. When you provide an API key here,
|
|
; weather-bar will use the WU API instead of NOAA, which enables much more weather detail and more
|
|
; frequent weather updates.
|
|
;
|
|
; If you don't yet have an API key, you can sign up for their **free** "Stratus" plan, which gives
|
|
; you 500 queries per day. https://www.wunderground.com/api
|
|
weather-underground-api-key = "fde86b6cdf518288"
|
|
|
|
; By default, noaa-weather-bar will attempt to geolocate you and determine the nearest NOAA weather station
|
|
; based on this location. If the geolocation is failing or inaccurate, you can override it by providing a
|
|
; latitude and longitude (in +/- DD.dddddd format) or a NOAA station ID here.
|
|
;
|
|
; To hardcode a latitude/longitude, uncomment the following:
|
|
; latitude = 39.17851
|
|
; longitude = -96.63765
|
|
;
|
|
; To hardcode a specific ICAO or WU PWS weather station, uncomment the following:
|
|
; station = "KMHK"
|
|
; station = "KTXALAMO5"
|
|
|
|
|
|
[format]
|
|
; weather-format formats the line as displayed in your bar.
|
|
;
|
|
; Available tokens:
|
|
; ------------------------
|
|
; %temperature-fahrenheit% - Temperature in degrees Fahrenheit
|
|
; %temperature-celcius% - Temperature in degrees Celcius
|
|
; %barometer% - Barometer in millibar
|
|
; %wind-speed-mph% - Wind speed in miles/hour
|
|
; %wind-speed-kph% - Wind speed in kilometers/hour
|
|
; %wind-direction% - Wind direction in degrees
|
|
; %wind-cardinal% - Wind direction in cardinals (e.g. N, SW, WNW, etc.)
|
|
; %station-id% - NOAA station ID (e.g. KMHK)
|
|
;
|
|
; The folowing tokens are also available if you have provided your Weather Underground API
|
|
; key above (they will not work for NOAA reports):
|
|
; ----------------------------------------------------------------------------------------
|
|
; %weather% - Current general weather conditions (e.g. "Partly Cloudy")
|
|
; %wind-gust-mph% - Maximum wind gust in miles/hour
|
|
; %wind-gust-kph% - Maximum wind gust in kilometers/hour
|
|
; %humidity% - Humidity in %
|
|
; %wind-chill-fahrenheit% - Wind chill in degrees Fahrenheit
|
|
; %wind-chill-celcius% - Wind chill in degrees Celcius
|
|
; %heat-index-fahrenheit% - Heat index in degrees Fahrenheit
|
|
; %heat-index-celcius% - Heat index in degrees Celcius
|
|
; %rain-today-inches% - Rainfall today in inches
|
|
; %rain-last-hour-inches% - Rainfall in the last hour in inches
|
|
|
|
weather-format = " %station-id% %temperature-celcius%°C %wind-cardinal% @ %wind-speed-kph% kph"
|