From 2592cda75c7b0be0590725f3e7736b3f0fbf7d38 Mon Sep 17 00:00:00 2001 From: Kyle Kneitinger Date: Wed, 9 Dec 2020 12:08:32 -0800 Subject: [PATCH] Elaborate on settings.ini usage and format --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index daa6b38..6c6a4a6 100644 --- a/README.md +++ b/README.md @@ -147,9 +147,20 @@ names in your configuration directory to have autorandr use any of them as the default configuration without you having to change the system-wide configuration. -You can store default values for any option in an INI-file in -`~/.config/autorandr/settings.ini` in a section `config`. The most useful -candidate for doing that is `skip-options`, if you need it. +You can store default values for any option in an INI-file located at +`~/.config/autorandr/settings.ini`. In a `config` section, you may place any +default values in the form `option-name=option-argument`. + +A common and effective use of this is to specify default `skip-options`, for +instance skipping the `gamma` setting if using +[`redshift`](https://github.com/jonls/redshift) as a daemon. To implement +the equivalent of `--skip-options gamma`, your `settings.ini` file should look +like this: + +``` +[config] +skip-options=gamma +``` ## Advanced usage -- 2.39.2