[xmonad] Regarding X.A.GroupNavigation

Raghavendra D Prabhu raghu.prabhu13 at gmail.com
Thu Oct 25 23:33:49 CEST 2012


* On Sun, Oct 21, 2012 at 08:06:45PM -0300, Norbert Zeh <nzeh at cs.dal.ca> wrote:
>Raghavendra D Prabhu [2012.10.22 0327 +0530]:
>> Hi,
>> I am using one of your Xmonad extensions - X.A.GroupNavigation.
>> I needed something like ability to toggle between alternate windows
>> like toggleWS which is for workspaces.
>> However,
>> , ((modm                , xK_BackSpace), nextMatch History (return True))
>> didn't work for me since I wanted it to toggle within the workspace.
>> So, I tried
>>         .... nextMatchWithThis History  currentWs)
>> But this is not working for me. Do you know why that may be the
>> case? (currentWs from ManageHelpers).
>> My loghook is as follows:
>>         logHook            = fadeWindowsLogHook myFadeHook <+> myLogHook xmproc <+> G.historyHook
>The reason why this doesn't work is simple: currentWs returns the current
>workspace.  nextMatchWithThis focuses the next window for which the given query
>returns the same result as for the current window.  Since currentWs is
>independent of the given window, nextMatchWithThis History currentWs should
>produce the exact same effect as nextMatch History (return True), as long as
>there currently is a focused window.
>The answer probably a bit more interesting to you is: can what you want to do be
>done?  Of course it can ;) but not out of the box it seems.  What you need is a
>query that returns the workspace a given window is on.  As far as I can tell,
>there is is no such query provided in ManageHelpers, and it is certainly not
>provided as part of GroupNavigation.

Thank you. I think my confusion stemmed from fact that currentWs 
had nearly the same signature as className, appName and other 
helpers in ManageHook. 

It would be nice to have a workspace delimited navigation in 

Regarding returning the workspace id of a window, I don't see it 
maintained by X (not atleast from Xorg); though I wonder if there 
is a way for xmonad to return that (or intercept request like 
EWMH module does).

Thanks again.

Raghavendra Prabhu
GPG Id : 0xD72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977
www: wnohang.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20121026/c46870c2/attachment.pgp>

More information about the xmonad mailing list