Is it possible for XMonad to behave like many window managers with regard to switching active window using Alt-Tab keys? After some looking I've tried:
((mod1Mask, xK_Tab), cycleRecentWindows [xK_Alt_L] xK_Tab xK_Tab)
from XMonad.Actions.CycleWindows module. This configuration "almost" works. One issue is that I must execute the sequence slowly (just under 1 second I think). Other WMs I have do not suffer from this kind of input lag. The other issue is that it shuffles windows around, I would love to have alt-tab just switch focus to previous window.
I am using GroupNavigation for similar thing
Following example does cycle through windows on all workspaces:
import XMonad.Actions.GroupNavigation
...
((modm , xK_Tab), nextMatch Backward (return True))
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With