Hi,

On Thu, Aug 12, 2021 at 10:52:16AM -0400, Ruben Astudillo wrote:

To move to the previous selected window, I use the module
XMonad.Actions.GroupNavigation and its historyHook with a key set up to
nextMatch History (pure True). With this I can alternate to the previously
selected window. But it is not a repeatable process, because once I jump to
the previous window, the window from which I jumped becomes the "previous
window". That means I can only alternate between two windows with this setup.

Last time I looked for this, nothing in xmonad-contrib seemed good enough (although I surely missed something) and I found https://github.com/sagb/alttab, which works well enough with xmonad and even shows icons to make it visually easier to use. :-)

--
Tomáš "liskin" ("Pivník") Janoušek, https://work.lisk.in/