Skip to content

IAmBullsaw/wallpaperupdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wallpaperupdater

This script is used to automatically set the wallpaper of an Ubuntu machine to some specific file fetched via wget.

How to enable it :)

  • Open a terminal
  • cd to this folder (where this readme is located)
  • run ./wpu.sh -i

Script now runs every hour at 42

How to revert this :(

  • Open a terminal
  • cd to this folder (where this readme is located)
  • run ./wpu.sh -u

Script removes all files and keeps this folder intact.

wpu.sh

This script is both the installer and uninstaller.

Which to run is set via the flag -i or -u. Flag -r is equivalent to ./wpu.sh -u && ./wpu.sh -i. Is no flag passed, nothing happens.

What it does

Sets up a cron job to run script.h every hour at minute 42.

script.sh

First it checks if my website is up and running. If it is, a picture is pulled from it. This picture is then set as wallpaper.

About

Script to update wallpaper every hour.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published