Skip to content

A small repo to automatically detect and change wallpapers for Linux users with multiple displays

Notifications You must be signed in to change notification settings

CryogenicPlanet/linux-wallpapers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Multi Display Wallpapers

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

Usage

  1. Update the data.json file with the appropriate number of monitors and file paths for number of monitors
  2. Add those wallpapers to the wallpapers/ folders
  3. Run go run main.go, disconnect and connect monitors to make sure it works

Running The Binary

  1. Build the binary go build
  2. Setup a crontab -e for every reboot to run a tmux session which runs the binary

Why/What/How

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

About

A small repo to automatically detect and change wallpapers for Linux users with multiple displays

Topics

Resources

Stars

Watchers

Forks

Languages