DailyWallpaperHub
多源壁纸聚合平台 · 自动归档 Bing + Unsplash 精选壁纸 · AI 视觉故事生成 · 企业微信推送 · GitHub Pages 在线画廊
Changes your desktop wallpaper based on the weather.
git clone https://github.com/yangman946/WallPaperChanger.gityangman946/WallPaperChangerWallPaperChanger is a Python script that changes your desktop wallpaper according to your current time and weather.
$ git clone https://github.com/yangman946/WallPaperChanger
You need:
pip install -r requirements.txtAlternatively you can choose to run WallPaperChanger offline with a selection of default wallpapers.
Refer to settings.py for where to insert these values.
You can run this script in two ways:
run.bat batch scriptYou can either run the script manually or via a task scheduler to run it periodically (i.e., every hour).
Make sure to edit the run.bat script to add the directory for which the batch script is located.
A premade windows task scheduler xml file is provided in the project root.
You may also decide to run the refresh.bat script every minute to update the live clock.
Open the project in your terminal of choice (or use cd to move to the project root)
Run the app using the following command.
python -m wallpaperChanger
Various batch files have been included with this project:
run.bat - changes the wallpaper, can be run from a task scheduler refresh.bat - only changes the clock at the bottom right of the wallpaper dislike.bat - can add the wallpaper to blacklisted_wallpapers.txt, effectively removing it from ever being seen You can create desktop shortcuts to these batch files for quick and easy access.
You will find separate folders for each weather condition (day/night).
These folders contain jpeg images (3936x2624 pixels) each labeled from 1 to the number of images in the folder.
If you wish to replace images, ensure that:
To customise the layout of the wallpaper, refer to the configurations dictionary at mainScript.py.
Here, you can add custom layouts or use existing ones. Each layout requires six parameters:
If you wish to contribute to this project, send a pull request, and I will review it ASAP. Here’s an easy and quick video guide for learning how to contribute via GitHub.
more like this
多源壁纸聚合平台 · 自动归档 Bing + Unsplash 精选壁纸 · AI 视觉故事生成 · 企业微信推送 · GitHub Pages 在线画廊
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
search projects, people, and tags