From b6780cc1804075f6863dcf0a370a5bf645082014 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 15 Apr 2026 11:54:13 +0300 Subject: [PATCH] meta: add anchor options to sample config Signed-off-by: NotAShelf Change-Id: I861aa8c86470ba1826860896b4e770e26a6a6964 --- chroma.conf.sample | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/chroma.conf.sample b/chroma.conf.sample index 27dad16..38b5fa3 100644 --- a/chroma.conf.sample +++ b/chroma.conf.sample @@ -69,6 +69,18 @@ min_scale_factor = 0.25 # Don't scale below 25% of original size # output.OUTPUT_NAME = /path/to/image.ext # output.OUTPUT_NAME.scale = fill|fit|stretch|center # output.OUTPUT_NAME.filter = nearest|linear|bilinear|trilinear +# output.OUTPUT_NAME.anchor = center|top|bottom|left|right|top-left|top-right|bottom-left|bottom-right +# +# Anchor specifies which part of the image is anchored to the output: +# center - image centered (default) +# top - image anchored to top edge +# bottom - image anchored to bottom edge +# left - image anchored to left edge +# right - image anchored to right edge +# top-left - image anchored to top-left corner +# top-right - image anchored to top-right corner +# bottom-left - image anchored to bottom-left corner +# bottom-right - image anchored to bottom-right corner # # To find your output names, run one of these commands: # @@ -92,9 +104,11 @@ min_scale_factor = 0.25 # Don't scale below 25% of original size # output.DP-1 = ~/Pictures/monitor1.png # output.DP-1.scale = fit # output.DP-1.filter = bilinear +# output.DP-1.anchor = top-left # output.DP-2 = ~/Pictures/monitor2.jpg # output.DP-2.scale = stretch # output.eDP-1 = ~/Pictures/laptop-wallpaper.jpg -# output.eDP-1.scale = center +# output.eDP-1.scale = fill +# output.eDP-1.anchor = bottom-right # output.eDP-1.filter = trilinear