update readme
This commit is contained in:
parent
9de5f7bab9
commit
540156b7d9
1 changed files with 6 additions and 1 deletions
|
|
@ -51,8 +51,13 @@ exec_always DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml
|
||||||
|
|
||||||
If you wish to use a program other than `feh`, set the `callback` parameter by specifying the path to your script.
|
If you wish to use a program other than `feh`, set the `callback` parameter by specifying the path to your script.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
callback: /path/to/custom.sh
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# /path/to/custom.sh
|
||||||
|
|
||||||
SCREEN_1="$1"
|
SCREEN_1="$1"
|
||||||
WALLPAPER_1="$2"
|
WALLPAPER_1="$2"
|
||||||
|
|
@ -60,5 +65,5 @@ WALLPAPER_1="$2"
|
||||||
SCREEN_2="$3"
|
SCREEN_2="$3"
|
||||||
WALLPAPER_2="$4"
|
WALLPAPER_2="$4"
|
||||||
|
|
||||||
# ...
|
...
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue