rafaelleru / earthwall

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%