I’m not fully sure in what version it was introduced but in v1.3.7 you can adjust the non-active layer opacity in the Preferences. No need for a script. ✌️
Thank you for your reply! Yes, I found it! Thank you for your help!