[xmonad] Repeated presses on Mod - [1..9] to toggle between windows in workspace

Tony Zorman soliditsallgood at mailbox.org
Sun Sep 3 06:43:41 UTC 2023


On Sun, Sep 03 2023 08:10, Jean-Baptiste Mestelan wrote:
> I am not quite there yet: the 'move to workspace' part works OK, but the
> 'focus' part does not. It would seem the condition
> (W.tag . W.workspace . W.current) ss == t
> is never triggered? Still working on it.

Did you properly restart XMonad? Make sure that your config compiles; if

> tagOrFocus t ss = if (W.tag . W.workspace . W.current) ss == t then
> W.focusUp ss else W.view t ss

is a verbatim copy, then you probably have at least one spurious line
break in there.

(For the record, I tried Brandon's solution just now and it works for
me)

-- 
Tony Zorman | https://tony-zorman.com/


More information about the xmonad mailing list