Skip to content

A fish shell script that sets the same background image on multiple desktops in OS X Sierra.

Notifications You must be signed in to change notification settings

mauriziodimatteo/osx_wallpaper_updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Uniform OS X wallpapers for fish users

A simple Fish shell script that sets the same wallpaper on every desktop of OS X at once. Thanks Apple.

How to install it

Copy change_wallpaper.fish to .config/fish/functions/

How to use it

In fish type:

change_wallpaper <path_to_image>

e.g.:

change_wallpaper /Library/Desktop\ Pictures/Moon.jpg

Not-so-frequently Asked Questions

Which version of OS X is it compatible with?

I've tested it on OS X Sierra 10.12.1 and it works fine. As long as the way desktoppicture.db is used doesn't change it should keep working on future releases. I don't know if it is compatible with older versions. Try it at your own risk.

Does it work with multiple monitors?

Yes.

What happens if I mess up my desktoppicture.db?

Delete it and restart Dock. A new file will be created and the backgrounds will be set to default.

rm ~/Library/Application\ Support/Dock/desktoppicture.db
killall Dock

Does it work with bash?

No, but the SQLite calls are still valid. Just change everything else in the script.

About

A fish shell script that sets the same background image on multiple desktops in OS X Sierra.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages