[xmonad] CycleRecentWS - gnome-like workspace switching

Michał Janeczek janeczek at gmail.com
Mon Mar 31 07:31:51 EDT 2008


Hi,

The attached patch provides a function to cycle through
most recent workspaces with repeated presses of alt-tab (or similar).
The order of workspaces previewed during the cycling is not affected,
so it can be used to switch between 2 or 3 most commonly
visited workspaces.
It is possible to expand on this idea, for example by having alt-1
cycle between (most recently seen) emacs windows and alt-2 between
browser windows, implementing a kind of "dynamic workspaces".

There is some room for improvement - maybe it is possible to
ask X about modkeys given only control mask, that way
it would be marginally easier to use in config file.

Regards,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CycleRecentWS.dpatch
Type: application/octet-stream
Size: 6087 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080331/4078982f/CycleRecentWS-0001.obj


More information about the xmonad mailing list