Is it possible to run a script when a specific window is focused?
I want to change brightness based on which window is running, if its an IDE in dark mode increase, if it is a browser window decrease. The command itself is fairly easy to run even on wayland