Skip to content

Commit 79009be

Browse files
committed
hyprpaper: document wallpaper#paths
1 parent 05a2360 commit 79009be

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

content/Hypr Ecosystem/hyprpaper.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ Wallpapers are set as anonymous special categories. Monitor can be left empty fo
4343
| variable | description | value |
4444
| --- | --- | --- |
4545
| `monitor` | Monitor to display this wallpaper on. If empty, will use this wallpaper as a fallback | monitor ID |
46-
| `path` | Path to an image file or a directory containing image files | path |
46+
| `path` | Path to an image file or a directory containing image files. Mutually exclusive with `paths` | path |
47+
| `paths` | Comma-separated list of image files and/or directories. Picks one wallpaper for the current run. Mutually exclusive with `path` | string |
4748
| `fit_mode` | Determines how to display the image. Optional and defaults to `cover` | `contain`\|`cover`\|`tile`\|`fill` |
48-
| `timeout` | Timeout between each wallpaper change (in seconds, if `path` is a directory). Optional and defaults to 30 seconds | int |
49-
| `order` | Determines the order to display images when a directory is passed to the `path` option. Optional, currently only supported value is `random` | `random` |
50-
| `recursive` | Whether to scan subdirectories recursively when `path` is a directory. Optional and defaults to `false` | bool |
49+
| `timeout` | Timeout between each wallpaper change (in seconds, if `path` is a directory). Optional and defaults to 30 seconds. Does not apply to `paths` | int |
50+
| `order` | Determines the order to display images when `path` is a directory. For `paths`, supported values are `default` and `random`; `random` picks one for the current run | `random`\|`random-shuffle` |
51+
| `recursive` | Whether to scan subdirectories recursively when `path` points to a directory or `paths` contains directories. Optional and defaults to `false` | bool |
5152

5253
```ini
5354
wallpaper {
@@ -62,6 +63,13 @@ wallpaper {
6263
fit_mode = cover
6364
}
6465

66+
wallpaper {
67+
monitor = DP-1
68+
paths = ~/wallpapers/favs, ~/wallpapers/one.jxl, ~/wallpapers/two.jxl
69+
fit_mode = cover
70+
order = random
71+
}
72+
6573
wallpaper {
6674
monitor =
6775
path = ~/fallback.jxl

0 commit comments

Comments
 (0)