I forgot how much I love the app Hammerspoon. Although it’s easy to get lost in fiddling with all the things it can do. www.hammerspoon.org