Simple brightness control for your PC with the help of webcam attached to match with room brightness.
Install brightnessctl from package manager
Modify persmission so that you can change screen brightness. '''sudo usermod -aG video ${USER}'''
You can set a shortcut to run the executable or modify the script to run in a loop with a desired interval to update brightness or even add other conditions to update only if there is change in brightness levels.