This commit is contained in:
Arthur 2022-06-29 17:57:53 +05:00
parent 90c9f269ef
commit fdf3c97c2e
4 changed files with 50 additions and 2 deletions

View File

@ -6,3 +6,52 @@ WallPyPer - is small utility, work via
<img src="./docs/media/demo.gif" /> <img src="./docs/media/demo.gif" />
WallPyPer can work with images and gifs. 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 <abs_path_to_download_repo>/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
```

BIN
docs/.README_ru.md.swp Normal file

Binary file not shown.

View File

@ -18,7 +18,6 @@ Debian/Ubuntu:
``` ```
sudo apt install feh sudo apt install feh
``` ```
Arch: Arch:
``` ```
pacman -S feh pacman -S feh

View File

@ -3,7 +3,7 @@ import random
from apscheduler.schedulers.background import BlockingScheduler 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) files = os.listdir(PATH)
def run(command,output=False): def run(command,output=False):