docs: match output matching format for sample config in README
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id71af8c0eced9312e0eca651e0f402b76a6a6964
This commit is contained in:
parent
9c813b2fa0
commit
29c298f71b
1 changed files with 13 additions and 8 deletions
21
README.md
21
README.md
|
|
@ -96,8 +96,8 @@ make sample-config
|
|||
|
||||
Chroma looks for configuration files in this order:
|
||||
|
||||
1. `~/.config/chroma/chroma.toml`
|
||||
2. `$XDG_CONFIG_HOME/chroma/chroma.toml`
|
||||
1. `$XDG_CONFIG_HOME/chroma/chroma.toml`
|
||||
2. `~/.config/chroma/chroma.toml`
|
||||
3. `./chroma.toml` (current directory)
|
||||
|
||||
#### Sample Configuration
|
||||
|
|
@ -107,23 +107,28 @@ Chroma looks for configuration files in this order:
|
|||
default_image = "~/.config/chroma/default.jpg"
|
||||
|
||||
# Output-specific wallpapers
|
||||
# Format: output.OUTPUT_NAME = "/path/to/image.jpg"
|
||||
[output.DP-1]
|
||||
# Format: [[output]] with name and image keys
|
||||
[[output]]
|
||||
name = "DP-1"
|
||||
image = "~/Pictures/monitor1.jpg"
|
||||
|
||||
[output.DP-2]
|
||||
[[output]]
|
||||
name = "DP-2"
|
||||
image = "~/Pictures/monitor2.png"
|
||||
|
||||
[output.HDMI-A-1]
|
||||
[[output]]
|
||||
name = "HDMI-A-1"
|
||||
image = "~/Pictures/hdmi_wallpaper.jpg"
|
||||
|
||||
# You can also match outputs by description using the desc: prefix
|
||||
# This is useful when output names change between reboots
|
||||
# Format: output."desc:DESCRIPTION_PREFIX" = "/path/to/image.jpg"
|
||||
[output."desc:Samsung"]
|
||||
[[output]]
|
||||
name = "desc:Samsung"
|
||||
image = "~/Pictures/samsung_wallpaper.jpg"
|
||||
|
||||
[output."desc:LG Ultra"]
|
||||
[[output]]
|
||||
name = "desc:LG Ultra"
|
||||
image = "~/Pictures/lg_wallpaper.jpg"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue