Setting up ddcutil for non-root CLI use is required first.
Please refer to https://github.com/d-vogel/QMLddcutil/blob/master/README.md section.
Limitations:
Not tested for multiple DDC capable monitors setup, should only change brightness of first monitor anyway.