Quote:
Originally Posted by shruggy
Replace printf with cat:
Code:
showweather() { cat "$weather" ;}
|
the script is working. but its not showing on statusbar i set it 18000 update interval in `blocks.h`, so it updates the file ".cache/weather" in the interval of 5 hours, and show(cat) what it already contains. but its not showing. if i set it 1 sec interval it shows, but its the same thing as before, thats why i made it to store the weather in file