Pretty Weather
Displays weather information as ASCII art from Wttr.in.
Consider using wego directly, to avoid issues with rate limiting. See wego.
Configuration
prettyweather:
enabled: true
city: "tehran"
position:
top: 3
left: 5
height: 1
width: 1
refreshInterval: 5m
unit: "m"
view: 0
language: "en"
Attributes
Name | Value |
---|---|
city
Optional The name of the city to display weather for. Default: Barcelona .
|
The name of any city supported by Wttr.in. |
language
Optional Wttr.in language configuration. Default: en .
|
See curl wttr.in/:translation for more details. |
unit
Optional The scale to display temperatures in. Default: m .
|
u for Fahrenheit, m for Celsius. |
view
Optional Wttr.in view configuration. |
See curl wttr.in/:help for more details. |
Source Code
https://github.com/wtfutil/wtf/tree/master/modules/weatherservices/prettyweather