Skip to content

plugin_cfg

Alejandro Mora edited this page Mar 9, 2026 · 1 revision

cfg plugin

This plugin allows reading of values from lcd4linux.conf.


Functions

cfg(key, ...) read a parameter from the config file

This function has a variable number of parameters, all parameter are concatenated together with a dot ('.') and the resulting string is used as a key into the config file.


Example

cfg('Display')
cfg('Layout:Default', 'Row1', 'Col1')

Clone this wiki locally