update readme
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Simon Vieille 2024-07-30 22:36:47 +02:00
commit 8e5d3c7907
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -25,7 +25,7 @@ $ make
To start, you need to create a configuration file in YAML format. This file consists of two keys: `default` to define the path of the default wallpaper, and `workspaces` which allows you to associate each workspace with its corresponding wallpaper. To start, you need to create a configuration file in YAML format. This file consists of two keys: `default` to define the path of the default wallpaper, and `workspaces` which allows you to associate each workspace with its corresponding wallpaper.
``` ```yaml
default: /home/alice/wallpapers/default.jpg default: /home/alice/wallpapers/default.jpg
workspaces: workspaces:
"Name of the workspace 1": /home/alice/wallpapers/1.jpg "Name of the workspace 1": /home/alice/wallpapers/1.jpg
@ -35,12 +35,12 @@ workspaces:
Next, you simply need to run `i3-wallpaper-manager` while specify the path to the configuration file. Next, you simply need to run `i3-wallpaper-manager` while specify the path to the configuration file.
``` ```bash
DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml
``` ```
To run it when i3 starts, add this to your i3 configuration: To run it when i3 starts, add this to your i3 configuration:
``` ```bash
exec_always DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml exec_always DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml
``` ```