diff --git a/README.md b/README.md index 417f98d..fe983b1 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,52 @@ WallPyPer - is small utility, work via WallPyPer can work with images and gifs. + +## Install + +Dependencies: + +* [feh](https://github.com/derf/feh) +* [foo-Wallpaper-Feh-Gif ](https://github.com/thomas10-10/foo-Wallpaper-Feh-Gif) + +**feh** is most likely already in tour list of repositories. + +Debiadn/Ubuntu: +``` +sudo apt install feh +``` +Arch: +``` +pacman -S feh +``` + +**foo-Wallpaper-feh-gif** is just bash script, you can download it [here](https://github.com/thomas10-10/foo-Wallpaper-Feh-Gif/blob/master/back4.sh) +``` +curl -L https://raw.githubusercontent.com/thomas10-10/foo-Wallpaper-Feh-Gif/master/install.sh | bash +``` + +Then download WallPyPer and make main.py an run file. +``` +git clone https://github.com/KarimullinArthur/WallPyPer.git + +cd WallPyPer + +chmod +x main.py +``` + +And after create symbolic a link in one of the PATH var. +For example +``` +cd /usr/local/bin/ + +ln -s /main.py wallpyper +``` + +The absolute path you cat get via command *pwd* + +## Auto Start + +For **i3wm** add in yourself ~/.conifg/i3/config one string: +``` +exec wallpyper +``` diff --git a/docs/.README_ru.md.swp b/docs/.README_ru.md.swp new file mode 100644 index 0000000..b06411c Binary files /dev/null and b/docs/.README_ru.md.swp differ diff --git a/docs/README_ru.md b/docs/README_ru.md index 67804d9..2f3af04 100644 --- a/docs/README_ru.md +++ b/docs/README_ru.md @@ -18,7 +18,6 @@ Debian/Ubuntu: ``` sudo apt install feh ``` - Arch: ``` pacman -S feh diff --git a/func.py b/func.py index 7c09231..1d3a1be 100644 --- a/func.py +++ b/func.py @@ -3,7 +3,7 @@ import random from apscheduler.schedulers.background import BlockingScheduler -PATH = '/home/arthur/img/Wallpapers/test/'# path to media +PATH = '/home/arthur/img/Wallpapers/wallpyper/'# path to media files = os.listdir(PATH) def run(command,output=False):