weather

Zeigt aktuelle Wetterbedingungen via wttr.in an.

  • Art: info_provider
  • Binär: xfetch-plugin-weather
  • Abhängigkeiten: curl im PATH
  • API: wttr.in (kostenlos, kein API-Schlüssel)

Konfiguration

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

Argumente

FeldErforderlichStandardBeschreibung
locationNeinAutomatisch per IPStadtname, Koordinaten oder Flughafencode
formatNein%C|%t|%w|%h|%pwttr.in-Formatzeichenkette (senkrechtstrich-getrennt)

Ausgabe

ZustandAusgabe
Wetter abgerufen☀ +15°C Clear /  Humidity: 60% /  Wind: ↑15 km/h /  Precipitation: 0%
Netzwerkfehler Weather: could not fetch
Keine Daten Weather: no data

Icons werden automatisch basierend auf der Bedingung ausgewählt: Clear/Sunny (), Cloudy (), Rain (🌧), Snow (❄️), Thunder (), Fog (🌫), Partly ().