Pretty Weather

Displays weather information as ASCII art from Wttr.in.

prettyweather screenshot

Source Code

wtf/prettyweather/

Required ENV Variables

None.

Keyboard Commands

None.

Configuration

    prettyweather:
      enabled: true
      city: "tehran"
      position:
        top: 3
        left: 5
        height: 1
        width: 1
      refreshInterval: 300
      unit: "c"
      view: 0
      language: "en"

Attributes

city
Optional. It will grab the current location from your IP address if omitted.
Values: The name of any city supported by Wttr.in.

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true, false.

position
Defines where in the grid this module’s widget will be displayed.

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.

unit
Optional. It will use metric if you are out of US and imperial for US.
The temperature scale in which to display temperature values.
Values: F for Fahrenheit, C for Celcius.

view
Optional Wttr.in view configuration.
Values: See curl wttr.in/:help for more details.

language
Optional Wttr.in language configuration.
Values: See curl wttr.in/:translation for more details.