[xmonad] Skipping minimized windows

Eyal Erez oneself at gmail.com
Mon Dec 16 09:55:43 UTC 2024


Hi,

I currently use the following commands to hide windows temporarily:

    , ((modMask .|. shiftMask, xK_y     ), withLastMinimized
maximizeWindowAndFocus)
    , ((controlMask .|. shiftMask, xK_y ), withFocused minimizeWindow)

Unfortunately, when I switch focus from window to window, focus still moves
to the minimized windows. Meaning that I need to switch through several
invisible windows to get to the visible ones.

    -- Move focus to the next window
    , ((modMask,               xK_k     ), windows W.focusDown)
    -- Move focus to the previous window
    , ((modMask,               xK_j     ), windows W.focusUp)

Is there a way to modify this so that it skips minimized windows?

Thank you,
--
There are 10 types of people, those who know binary and those who don't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20241216/16542d4d/attachment.html>


More information about the xmonad mailing list