This is a small repo to automatically detect and change wallpapers for linux users with multiple displays
It is meant to be used with HydraPaper to generate said wallpapers
- Update the
data.json
file with the appropriate number of monitors and file paths for number of monitors - Add those wallpapers to the
wallpapers/
folders - Run
go run main.go
, disconnect and connect monitors to make sure it works
- Build the binary
go build
- Setup a
crontab -e
for every reboot to run atmux
session which runs the binary
HydraPapers make multi display wallpapers by combining them into one image, which makes it really ugly when you disconnect or reconnect a display. This aims to fix that
All it does is runs a loop in the background every 5 seconds to check if the number of displays has changed. If they have, it updates the wallpaper to make it look good