From 29c298f71bdf4f3ec2272f53f0e4b8edcf1dfb5f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 1 May 2026 13:05:11 +0300 Subject: [PATCH] docs: match output matching format for sample config in README Signed-off-by: NotAShelf Change-Id: Id71af8c0eced9312e0eca651e0f402b76a6a6964 --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9a6f5c0..ca3c1da 100644 --- a/README.md +++ b/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" ```