carbonian.org / manual pages
CARBONIAN-WIDGET-WEATHER(1) Carbonian Manual CARBONIAN-WIDGET-WEATHER(1)

carbonian-widget-weather - widget: the weather from wttr.in for a set place, now, the next hours and days

carbonian-widget-weather [--once]

The "weather" widget of the widgets screen (widgets.conf(5)). For the place named on the first line of ~/.config/carbonian/weather: a drawing of the condition (with the moon at night) beside the place, the description and the temperature in large digits, the felt temperature, the humidity, the wind and the rain; then the next four hours that wttr.in forecasts and the next two days, with their lowest and highest temperatures and chance of rain. The drawings are the widget's own; the hours and days use Nerd Font weather glyphs.

The weather is asked of wttr.in with curl(1) (its JSON format), at most every 30 minutes, and again at once when the place changes. When wttr.in does not answer the widget says it is offline and asks again after five minutes. Nothing is asked until a place is set (wttr.in would otherwise guess the place from the address), nor while the widgets are hidden.

Ask again now, reading the place again (a place just set, wttr.in back).

Draw one frame for the terminal's size and exit; this asks wttr.in when a place is set.
Print the name and version, and exit.

Where the place file is looked for (default ~/.config).

~/.config/carbonian/weather

echo "Lisbon" > ~/.config/carbonian/weather

carbonian-widget(7), widgets.conf(5), curl(1)

2026-11-03 Carbonian