![]() ![]() Ready-to-Go wallpaper setĭon't want to go hunting for wallpapers? I recommend this beautiful set (called FireWatch, named after a game) (download the set using the ZIP file link given below) made by redditor JuniorNeves.Ī zip download of the FireWatch set, named according to the rules: ZIP download. You can choose your own custom set, conforming to the naming rules.Įither put them in the default ~/.weatherdesk_walls/ directory or specify a directory with the -dir option. If not given, coordinates are taken from ipinfo.io. ![]() With this option, no internet connection is required. Wallpapers will only be changed based on the time of day. no-weather Disable the weather functionality of the script. n, -naming Show the image file-naming rules and exit. Use different backgrounds for different times. Specify time (in seconds) to wait before updating. h, -help show this help message and exit WeatherDesk - Change the wallpaper based on the weather Set this new image as the desktop backgroundįinally, the program will set this new image as the computer's desktop background.Usage: WeatherDesk.py The heart and soul of modern long-range weather forecasting is the numerical model, of which there are dozens scattered among the world’s weather centres. It supports most Linux desktop environments as well as Windows and Mac. ![]() This overlay will contain things like the current time, temperature and weather condition as well as an hourly future forecast 5. WeatherDesk is a Python3 tool that allows using a wallpaper that changes based on the weather and optionally, time of day. Then, using the python image library (PIL or PILLOW) the program will overlay information from the forecast onto a copy of the image from step 3. Make a copy of this image and overlay information from the forecast Using the time of day and the current weather conditions, the program will select the proper image from it's repository. Use the weather forecast to select a background image I am using the python requests library to make the API call and covert the response into a JSON package. Once the program has gathered the user's location it will attempt to use the OpenWeather API to get a weather forecast. With a few lines of code, the Geocoder library can use the user's IP address to estimate lat/long and the city the user is nearest to. If long-term TCO is important to your deployment, Libranet has a lot to offer (64.95, ). I am using the Geocoder library to get an estimation of the user's current location. UPSIDE: While the installation process might not be right for the novice administrator, Libranet provides the easiest way to get a Debian-based system up and running (and provides more current software than official Debian GNU /Linux). Program FlowĪs of now, this program will follow consist of five steps: 1. I have several ideas that I still want to implement, so this repository is still subject to change. They had a complete set of images based on the video game FireWatch that I fell in love with. But, I really liked the idea and since my weather app idea had stalled I decided it would be a fun project anyway.Īs I was looking through other peoples take on the project, I came across the WeatherDesk project by GitHub user bharadwaj-raju. Unfortunately, a quick google search told me that I was not by any means the first person to have this idea. I was thinking about how it would make a cool desktop background, and a light bulb went off! I was browsing reddit one night and came across a really cool picture that someone took of a city street in the rain. My inspiration for this project came from an old attempt at a weather forecast app that I made a while ago. A simple python project to update my Ubuntu desktop background according to the weather at my current location. ![]()
0 Comments
Leave a Reply. |