From: Armaan Bhojwani Date: Sat, 13 Feb 2021 20:29:48 +0000 (-0500) Subject: Update lightcards-config manpage X-Git-Tag: v0.7.0~21 X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=commitdiff_plain;h=3d86d323cd351d084dd21b4530d753298fe28502 Update lightcards-config manpage --- diff --git a/man/lightcards-config.5 b/man/lightcards-config.5 index e41cd51..a7b4035 100644 --- a/man/lightcards-config.5 +++ b/man/lightcards-config.5 @@ -10,6 +10,10 @@ lightcards-config - configuration file formats for .PP Configuration is done through the config.py file. This is an executed Python script and must have valid Python syntax. +Whilst this does have some drawbacks of being stricter on syntax, it +also allows you to do things such as appending values to lists instead +of overwriting them, and using logic within the configuration through +actual Python code. .PP Copy the global config file from /etc/lightcards/config.py to \[ti]/.config/lightcards/config.py or diff --git a/man/lightcards-config.5.md b/man/lightcards-config.5.md index 206b8f2..3741e61 100644 --- a/man/lightcards-config.5.md +++ b/man/lightcards-config.5.md @@ -10,7 +10,7 @@ date: February 2021 lightcards-config - configuration file formats for **lightcards(1)** # CONFIGURATION -Configuration is done through the config.py file. This is an executed Python script and must have valid Python syntax. +Configuration is done through the config.py file. This is an executed Python script and must have valid Python syntax. Whilst this does have some drawbacks of being stricter on syntax, it also allows you to do things such as appending values to lists instead of overwriting them, and using logic within the configuration through actual Python code. Copy the global config file from /etc/lightcards/config.py to ~/.config/lightcards/config.py or $XDG_CONFIG_HOME/lightcards/config.py and make modifications! All possible options are listed in the global config file.