Thank You good Sir. I just found your script and it is a godsend.
For the last two years I’ve been trying to check how I can make the browser as an environment variable when launching work related apps, and never occured to me to use KDE’s activities (Must be the reason why they could be on their way out).
Either way, the script works wonderfully, and it’s just what I needed. Once again, thank you.