ags: implement per-monitor brightness control

This commit is contained in:
MoetaYuko
2024-05-01 15:23:30 +08:00
parent de0d5ffdf0
commit 7d45e9dc1b
6 changed files with 81 additions and 26 deletions
@@ -38,6 +38,9 @@ let configOptions = {
'warnTitles': ["Low battery", "Very low battery", 'Critical Battery'],
'warnMessages': ["Plug in the charger", "You there?", 'PLUG THE CHARGER ALREADY'],
},
'brightness': {
'controller': "brightnessctl",
},
'music': {
'preferredPlayer': "plasma-browser-integration",
},
@@ -159,4 +162,4 @@ function overrideConfigRecursive(userOverrides, configOptions = {}) {
overrideConfigRecursive(userOverrides, configOptions);
globalThis['userOptions'] = configOptions;
export default configOptions;
export default configOptions;