diff --git a/README.md b/README.md index b42f08e..2f7e5d9 100644 --- a/README.md +++ b/README.md @@ -20,23 +20,34 @@ That's it! ### Configuration -Gnome extension weather use gsettings to save your configuration -You can modify the temperature unit with the following command +Gnome extension weather use gsettings to save your configuration. you can use dconf-editor or gsettings from the command line to modify some parameters -. gsettings set org.gnome.shell.extensions.weather unit 'celsius' +#### Location (cf [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html)) - or +You can specify your location buy using this command: -. gsettings set org.gnome.shell.extensions.weather unit 'fahrenheit' - -You can specify your location buy using this command, (cf. [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html)) +```bash +gsettings set org.gnome.shell.extensions.weather woeid 'your location' +``` -. gsettings set org.gnome.shell.extensions.weather woeid 'your location' +### Temperature units (optional, celsius by default) -Sometimes your woeid location isn't quite right. it's the next major city around. to customise the displayed city you can type : +You can modify the temperature unit with the following command + +```bash + gsettings set org.gnome.shell.extensions.weather unit 'celsius' + ``` + or +```bash +gsettings set org.gnome.shell.extensions.weather unit 'fahrenheit' +``` +### Displayed location (optional) -. gsettings set org.gnome.shell.extensions.weather city 'your city' +Sometimes your woeid location isn't quite right. it's the next major city around. to customise the displayed city you can type : +```bash +gsettings set org.gnome.shell.extensions.weather city 'your city' +``` ### Restart Gnome-Shell Don't forget to restart Gnome-Shell