Skip to content

ngserro/earthwall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

earthwall

earthwall.sh is a simple bash script to change your macOS wallpaper to a random image from earthview.withgoogle.com. The script was tested on Catalina. You can set up a periodic wallpaper change using cron. Take a look at the example in Cron.

Installation

The script only supports macOS and requires an internet connection to download the wallpaper. Install the script using any of the methods bellow:

Install using Git

The repository can be cloned to any location.

git clone https://github.com/ngserro/earthwall.git; cd earthwall; chmod +x earthwall.sh

Git-free installation

To install without Git:

cd; curl -L https://github.com/ngserro/earthwall/tarball/master | tar -xzv; cd ngserro-earthwall-*; chmod +x earthwall.sh

If you want to update you can simply run that command again.

Usage

Make sure you are in the directory where the script is located and run:

./earthwall.sh 

That's it! Your wallpaper is now an image from earthview.withgoogle.com.

Cron

If you want your wallpaper to change periodically you can set up the script execution in crontab:

crontab -e

Then add a line like this:

0 */2 * * * PATH_TO_SCRIPT/earthwall.sh

This is an example for changing the wallpaper every 2 hours. Change PATH_TO_SCRIPT accordingly.

About

Downloads random image from earthview.withgoogle.com and sets as wallpaper on OSX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages