theme: support theme setting override

...by reading <config-dir>/themerc-override where <config-dir> is normally
$HOME/.config/labwc can be other locations as described in labwc-config(5)
and can also be specified by the command line option -C.

The reason for supporting theme override is to give users more fine-
grained control of settings without making local copies and modifying
themes.
This commit is contained in:
Johan Malm 2022-12-05 21:46:16 +00:00 committed by Johan Malm
parent d82d8117f7
commit af56b68041
7 changed files with 58 additions and 7 deletions

View file

@ -168,12 +168,13 @@ For a step-by-step initial configuration guide, see [getting-started]
User config files are located at `${XDG_CONFIG_HOME:-$HOME/.config/labwc/}`
with the following four files being used:
| file | man page
| ------------- | --------
| [rc.xml] | [labwc-config(5)], [labwc-actions(5)]
| [menu.xml] | [labwc-menu(5)]
| [autostart] | [labwc(1)]
| [environment] | [labwc-config(5)]
| file | man page
| ------------------ | --------
| [rc.xml] | [labwc-config(5)], [labwc-actions(5)]
| [menu.xml] | [labwc-menu(5)]
| [autostart] | [labwc(1)]
| [environment] | [labwc-config(5)]
| [themerc-override] | [labwc-theme(5)]
The example [rc.xml] has been kept simple. For all options and default values,
see [rc.xml.all]
@ -259,6 +260,7 @@ See [integration] for further details.
[autostart]: docs/autostart
[environment]: docs/environment
[themerc]: docs/themerc
[themerc-override]: docs/themerc
[labwc(1)]: https://labwc.github.io/labwc.1.html
[labwc-config(5)]: https://labwc.github.io/labwc-config.5.html