My workflow often involves comparing two Finder windows side by side. I use shortcut 2 (see screenshot) to quickly cycle between the windows. However, the annoying thing is that the cycle also includes the desktop as a 'window'. Instead, I would just like to cycle between the two floating windows.
The closest I've come to achieve this is shortcut 1. This shortcut excludes the desktop, but unfortunately it will also cycle between the windows of all apps. It also doesn't work properly in Split View.
Is it possible to make shortcut 2 exclude the desktop? If not, is there another method to achieve what I want?
To be clear: I really want to exclude the desktop from the cycle because that enables me to use one shortcut to switch between the windows. I'm aware that you can go to the previous window using shift, but it's just way, way easier to go back and forth using the same shortcut.
Update 1: I just discovered that my question has been asked before: Command Tilde in Finder, prevent focus on Desktop at end of cycle. However, I don't think the answer there solves the problem.
Update 2: My solution.