weather

Displays current weather conditions via wttr.in.

  • Kind: info_provider
  • Binary: xfetch-plugin-weather
  • Dependencies: curl in PATH
  • API: wttr.in (free, no API key)

Configuration

{
    "info_plugins": [{
        "plugin": "weather",
        "args": {
            "location": "London",
            "format": "%C|%t|%w|%h|%p"
        }
    }],
    "modules": ["plugin:weather"]
}

Arguments

FieldRequiredDefaultDescription
locationNoAuto-detect by IPCity name, coordinates, or airport code
formatNo%C|%t|%w|%h|%pwttr.in format string (pipe-separated)

Output

StateOutput
Weather fetched☀ +15°C Clear /  Humidity: 60% /  Wind: ↑15 km/h /  Precipitation: 0%
Network error Weather: could not fetch
No data Weather: no data

Icons auto-select based on condition: Clear/Sunny (), Cloudy (), Rain (🌧), Snow (❄️), Thunder (), Fog (🌫), Partly ().