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" ```