Reply To: CLI or conky

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

#75897
Anonymous

    In the syntax of the conky version1.9 there is still the command
    pre_exec

    You could use this command like this

    ${goto 10}Weather
    #${font DejaVu Sans:size=8.5}${texeci 1200 curl -s 'wttr.in/Stockholm?format=+%l+%c+%t+%w+%P+%h+%m+&M'}
    ${font DejaVu Sans:size=8.5}${pre_exec curl -s 'wttr.in/Stockholm?format=+%l+%S+%s&M'}${font}


    Try it out.