Can a variable be added to ‘configure conditions’ to represent the current desktop? The purpose is that when I trigger the gesture, it will switch to desktop-2. If it is already on desktop-2, it will execute a shortcut to return to the previous application.”
there is the active_space variable in current alphas, however it does represent the id of the desktop, which unfortunately doesn’t use a simple numbering system. You can still use it to check whether a specific desktop is active
I'm not sure how this menu bar application works, but it displays the correct space number: GitHub - dshnkao/SpaceId: macOS space indicator - it would be nice to have this as a variable in BTT.