Skip to content

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

License

Notifications You must be signed in to change notification settings

rafaelleru/earthwall

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

earthwall

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

Installation

The script requires an internet connection to download the wallpaper and feh to be installed to update 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 Linux systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%