You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.0: Move to dark sky forecast api via custom server
Also uses google to get coordinates if none are provided via the new param `-l LAT:LON`. The new API knows
less specific weather states, the gen-categories remained the same. Also contains fixes for random mode and
flickr, and removes a lot of unneeded code.
On older Ubuntu systems, install also `notify-send`. It is not strictly necessary, only if `--osd` is specified to show notifications on weather change.
43
54
@@ -46,14 +57,22 @@ On older Ubuntu systems, install also `notify-send`. It is not strictly necessar
46
57
To use all common features, start izulu like this:
Optionally, use `-c city` or `-l LAT:LON` to set your current location manually.
49
62
50
63
## Configuration
51
64
52
-
izulu can configured partly in **~/.izulu/config**, especially the `CITY` and `WOEID` parameter are important if the automatic location detection fails.
53
-
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.
54
-
55
65
For a list of all parameters see the manpage.
56
66
57
-
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
58
-
(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.
67
+
### Location
68
+
69
+
izulu can configured partly in **~/.izulu/config**, especially the `CITY` or `LATITUDE` and `LONGITUDE` parameter are important if the automatic location detection fails.
70
+
First, try to set `CITY` to the current location. If that fails, set `LATITUDE` and `LONGITUDE`.
71
+
72
+
### Custom images
73
+
74
+
To set custom images, check their name in **/usr/share/izulu** and add a image with the same name to **~/.izulu/**. The categories are *sun*, *cloud*, *rain*, *snow* , *wind* and *misc* (=fog), and there is a *thunder* category (according to its documentation not yet supported by the weather api, but planned). The image files are called *gen_CATEGORY*, for example *gen_sun*. Substates are *partly_cloudy* and *cloudy* for *gen_cloud*, *rain* and *hail* for *gen_rain*, *sleet* and *snow* for *gen_snow*. The category *gen_wind* also knows the substates *windy* and *tornado*, I hope you never see the latter. You can set custom images for the substates by saving an image with its name in **~/.izulu/**.
75
+
76
+
### Random images
59
77
78
+
With `-r|--random` izulu picks a random image from the corresponding directory set in **~/.izulu/config**. If no directory is set, izulu will try to get a random image from a fitting flickr group. This is currently a bit flaky, but izulu tries to fall back to its provided images if the flickr way fails.
0 commit comments