Skip to content

nedy13/izulu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

izulu

Weather aware desktop background images

izulu example

Izulu is a script that fetches the current weather from Yahoo and changes the desktop background accordingly.

It can also show the weather forecast and the current temperature. As much as possible is detected automatically, like the command to change the background or the current position.

Install

PPA

On launchpad, there is a PPA with daily builds. Add it with

sudo add-apt-repository ppa:onli/izulu

and install izulu

sudo apt-get update
sudo apt-get install izulu

Manual

Download this repository and install with:

make
sudo make install # (or use checkinstall)

Install the dependencies (on Ubuntu):

sudo apt-get install imagemagick xmlstarlet xml-twig-tools 

On older Ubuntu systems, install also notify-send. It is not strictly necessary, only if --osd is specified to show notifications on weather change.

Arch Linux

wget https://raw.githubusercontent.com/onli/izulu/master/PKGBUILD #download "PKGBUILD" file
makepkg
sudo pacman -U izulu-git-0.6.4.298a22d-1-any.pkg.tar.xz

Install from AUR repo:

yaourt -S izulu-git

Start

To use all common features, start izulu like this:

izulu --daemon --night --preview --temperature --osd &

Configuration

izulu can configured partly in ~/.izulu/config, especially the CITY and WOEID parameter are important if the automatic location detection fails. First, try to set CITY to the current location. If that fails, get the WOEID from http://woeid.rosselliot.co.nz/ and set it in the config.

For a list of all parameters see the manpage.

To overwrite images locally, check their name in /usr/share/izulu and add a image with the same name to ~/.izulu/. It is also possible to further distinct between weather states (like rain/light_rain) instead of using the general category image by placing the more specific image into ~/.izulu/ as well. It should be best to directly look into the script (in chooseWallpaper()) to see the available categories.

About

weather-aware desktop background images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 95.5%
  • Makefile 4.5%