Thank you so much, seems to work nicely! For others needing this functionality, I used this answer as a starting point and found the details about how to actually do this on
youtube (read the description if you don't want to watch the video). I'm also on a Mac, so had to adjust the commands further, but the basic concept works.