brightness controller: per-name config; add "auto"

This commit is contained in:
end-4
2024-05-01 22:32:04 +07:00
parent aa9a38cf5f
commit b598dfac1d
2 changed files with 32 additions and 12 deletions
@@ -39,7 +39,14 @@ let configOptions = {
'warnMessages': ["Plug in the charger", "You there?", 'PLUG THE CHARGER ALREADY'],
},
'brightness': {
'controller': "brightnessctl", // "brightnessctl" or "ddcutil"
// Object of controller names for each monitor, either "brightnessctl" or "ddcutil" or "auto"
// "default" will be used if unspecified
// Examples
// 'eDP-1': "brightnessctl",
// 'DP-1': "ddcutil",
'controllers': {
'default': "auto",
},
},
'music': {
'preferredPlayer': "plasma-browser-integration",