[xmonad] Repeated presses on Mod - [1..9] to toggle between windows in workspace
Jean-Baptiste Mestelan
mestelan at gmail.com
Sun Sep 3 07:27:07 UTC 2023
Confirmed working, when translated to azerty: (words "& é \" ' ( - è _ ç )")
Not the prettiest-looking config, but I can surely live with it, and the
improved functionality.
Thanks again Brandon and Tony.
On Sun, 3 Sept 2023 at 09:05, Jean-Baptiste Mestelan <mestelan at gmail.com>
wrote:
> Thank you, Tony, for the confirmation.
>
> The behaviour I observe seems due to me using an azerty keyboard. I have
> this line in my config:
> , keys = azertyKeys <+> keys def
>
> As a consequence, (words "1 2 3 4 5 6 7 8 9 0") does not map to the above
> row keys.
>
> I will manually replace each digit by its azerty counterpart, unless a
> smarter idea comes up.
> Thank you for all the help!
>
> On Sun, 3 Sept 2023 at 08:43, Tony Zorman <soliditsallgood at mailbox.org>
> wrote:
>
>> 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/
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20230903/85b84f14/attachment.html>
More information about the xmonad
mailing list