3 ms·
This is actually one of the few types of examples that I think fit here. Most of the other people are just posting their side projects. When I clicked this I
by jajern 10y ago
This is actually one of the few types of examples that I think fit here. Most of the other people are just posting their side projects. When I clicked this I was expecting some quick bash/batch/python/etc. scripts that do useful things.
- onli 10y agoOne less useful thing for you: https://onli.github.io/izulu/ https://onli.github.io/izulu/. It is a bash script that changes the background of your desktop according to the weather at your locations, and can show the temperature and forecast. Doesn't have much functional value, but it was easy to write (though over the years it needed some care, mostly thanks to closing weather APIs) and it is a small simple thing I use almost every day, as it is in my autostart.
- rosstex 10y agoThat looks sweet! Is there a Windows version?
- onli 10y agoThanks. Sorry, Windows is not supported. It is written in Bash, Windows was not a target at that time. It might work with https://msdn.microsoft.com/en-us/commandline/wsl/about https://msdn.microsoft.com/en-us/commandline/wsl/about, but probably not since it also uses imagemagick to paint on the images, and xml_twig_tools as well as jq to interpret the api output. And it would need to detect that it is running on Windows to change the desktop background with the proper command, if that is even possible.
- stevekemp 10y agoPerhaps the tools here might suit then? https://github.com/skx/sysadmin-util https://github.com/skx/sysadmin-util