Make salad run when a program is not running

I would love to be able to setup salad to always run as long a a handful of gpu intensive programs I use are not running. For example I would set salad to be always mining as long as I do not have a game running.