Update README.md

This commit is contained in:
Wolfgang Rumpler 2017-07-22 20:55:39 +02:00
parent 13837c4d32
commit 12e830922b

View file

@ -3,7 +3,16 @@ RandomWallpaperGnome3
Random Wallpapers for Gnome 3 is a gnome shell extension which fetches a random wallpaper from an online source and sets it as desktop background.
## Installation
## Installation (symlink to repository)
Run `git clone git@github.com:ifl0w/RandomWallpaperGnome3.git` to clone the repository.
Run `./install.sh` to make a symbolic link from the extensions folder to the git repository.
This installation will depend on the repository folder, so do not delete the cloned folder.
__Installing this way has various advantages:__
* Switching between versions and branches.
* Updateing the extension with `git pull`
## Installation (manually)
Open the commandline and type the following lines:
@ -15,6 +24,10 @@ cp -r RandomWallpaperGnome3/randomwallpaper@iflow.space ~/.local/share/gnome-she
Then open the command prompt (Alt+F2) end enter `r` without qotes.
Now you should be able to activate the extension through the gnome-tweak-tool.
## Uninstall
Run `./install uninstall` to delete the symbolic link.
If you installed the extension manually you have to delete the extension folder with `rm -rf ~/.local/share/gnome-shell/extensions/randomwallpaper@iflow.space`.
## Debuging
Debuging can be started via `sh debug.sh`. Information can be printed with `global.log()`.
To debug the prefs.js use `sh debug.sh perfs`. In this case you should print debug messages with `print()`.