|
|
|
|
|
by peacelilly
3169 days ago
|
|
Checking the radar. In the midwest, weather comes at you from a long ways away, so I wrote a script to set my desktop background to be the current national radar mosaic every 15 minutes. Explicitly setting the background programmatically was very unreliable in practice. The beauty of my script is that it simply wgets the image, checks if it is valid, resamples the image using a high quality algorithm (slow but worth it), places it in a folder, and deletes the old image. My background preference is set to shuffle between images in that folder every minute, therefore my script acts like a pipeline. |
|