update readme
Some checks are pending
ci/woodpecker/push/build Pipeline is pending approval
ci/woodpecker/push/test Pipeline is pending approval

This commit is contained in:
Simon Vieille 2024-08-01 22:50:30 +02:00
commit 540156b7d9
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -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"
# ... ...
``` ```