I code on an IDE which has a dark theme. I require a high brightness while doing this task.
But when executing code, I use the browser, (since this is web development), and the whites of the browser coupled with high brightness cause strain.
Is there a way to control brightness with respect to the window which is active?
That is, if the IDE was open, the brightness would be max and if the browser was open then the brightness would be low.
Brightness here refers to the monitor backlight.