Reply To: CLI or conky

Forum › Forums › General › Tips and Tricks › CLI or conky › Reply To: CLI or conky

#75713
Anonymous

    If you want to display a simple weather in your antiX conky, you should first influence the size of the conky window:
    Above TEXT would be

    # Minimum size of text area
    minimum_size 180 620
    maximum_width 180

    180 for the width and 620 for the length

    Below TEXT this would be at the end

    Weather
    ${font DejaVu Sans:size=8} ${texeci 1200 curl 'wttr.in/KSO?q?0T?Q'}${font}

    or
    ${font DejaVu Sans:size=8} ${texeci 1200 curl 'wttr.in/KSO?u?q?0T?Q'}${font}

    curl retrieves the weather of your location here every 20minutes.
    Used wttr.in from chubin, here with the IATA code of Kastoria airport (GR). The unit of measurement is additionally converted with “?u”.
    So if you prefer °F instead of °C.

    OR