WallpaperSync is a Python script that dynamically adjusts the color of connected RGB LED devices based on your desktop wallpaper using OpenRGB. The script continuously monitors the system wallpaper for changes and updates the LED colors to match the most prominent color in the wallpaper. This ensures a visually cohesive environment that aligns with your desktop's aesthetics.
Here is a demo on how it works
- Real-time Monitoring: Automatically detects changes to the wallpaper and updates LED colors accordingly.
- Easy to configure and use.
To run WallpaperSync, you'll need to install the following Python libraries:
- colorthief: For extracting color palette
- openrgb-python: For changing RGB colors in hardware
- watchdog: For monitoring file system changes.
colorsys
,math
,time
,shutil
, andos
: Standard Python libraries used in the script.
Clone this repository:
git clone https://github.com/Zephyr73/WallpaperSync.git
- Ensure you have RGB LED devices connected and the OpenRGB server running on localhost port
6742
.- You can also configure the
default ip
andport
if the script doesnt detect OpenRGB SDK using default values. The config will be saved in aconfig.json
file
- You can also configure the
- Run the script
run.bat
-
The script will create a venv folder which will include all the required libraries from
requirements.txt
. It will then start monitoring for wallpaper changes and updating LED colors.-
If for some reason, the dependencies are not properly installed, use this
pip
command:pip install -r requirements.txt
-
Feel free to contribute by submitting issues, suggestions, or pull requests.