From edc7552b5c606bbe5f23c24ba4f57ef54c51ecc4 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 29 Sep 2025 18:45:18 +0300 Subject: [PATCH] add sample configuration Signed-off-by: NotAShelf Change-Id: I6a6a696450749c525482d2eab12de1a0e520e973 --- chroma.conf.sample | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 chroma.conf.sample diff --git a/chroma.conf.sample b/chroma.conf.sample new file mode 100644 index 0000000..cd52968 --- /dev/null +++ b/chroma.conf.sample @@ -0,0 +1,48 @@ +# This is a sample configuration file for the Chroma wallpaper daemon. +# Lines starting with # are comments and are ignored. +# +# Configuration file locations (checked in order): +# 1. ~/.config/chroma/chroma.conf +# 2. $XDG_CONFIG_HOME/chroma/chroma.conf +# 3. ./chroma.conf (current directory) +# +# To get started: +# 1. Copy this file to ~/.config/chroma/chroma.conf +# 2. Modify the paths to point to your wallpaper images +# 3. Use 'wlr-randr' or similar tools to find your output names +# 4. Restart chroma or send SIGHUP to reload configuration + +# This image will be used for any output that doesn't have a specific mapping. +# Supports: JPEG, PNG, BMP, TGA, PSD, GIF, HDR, PIC, PPM, PGM +# Paths can be absolute or relative, ~ expansion is supported. +# +# Alternative examples: +# default_image = ~/Pictures/wallpapers/default.png +# default_image = /usr/share/wallpapers/default.jpg +# default_image = ./wallpapers/fallback.jpg +default_image = ~/.config/chroma/default.jpg + + +# Whether to run as a background daemon +# Usually set via command line option --daemon, but can be set here too +daemon_mode = false + +# Output-specific wallpaper mappings +# ================================== +# Format: output.OUTPUT_NAME = /path/to/image.ext +# +# To find your output names, run one of these commands: +# - wlr-randr (for wlroots-based compositors like Sway, Hyprland) +# - wayland-info | grep wl_output +# - kanshi list-outputs +# +# Common output name patterns: +# - DP-1, DP-2, DP-3, etc. (DisplayPort) +# - HDMI-A-1, HDMI-A-2, etc. (HDMI) +# - eDP-1 (embedded DisplayPort, laptops) +# - DVI-D-1, DVI-I-1 (DVI) +# - VGA-1 (VGA, legacy) +# +# Example: +# output.HDMI-A-1 = ~/Pictures/wallpaper.jpg +