Not sure I understand, but maybe check out https://github.com/tmfink/i3-wk-switch for i3/sway, maybe it does what you want (as I understood it)