On 2009/05/14 10:24, Owain Ainsworth wrote:
> CVSROOT:      /cvs
> Module name:  xenocara
> Changes by:   o...@cvs.openbsd.org    2009/05/14 10:24:04
> 
> Modified files:
>       app/cwm        : calmwm.h conf.c cwmrc.5 group.c kbfunc.c 
> 
> Log message:
> Add a new command (currently no default keybindings for it), grouponly[1-9].
> 
> This works like the group select binding, but hides all other groups.
> 
> So, the people who've been complaining that they don't get "virtual
> desktops" in cwm may want to try this out in cwmrc (from memory, untested):
> 
> ---
> 
> #cwmrc
> 
> # add new windows to the current group
> set sticky
> 
> # automatically sticky windows. xclock for now.
> # to make more windows sticky use group_toggle to unset their group
> autogroup 0 xclock
> 
> # make the group selection keys hide other groups, emulate virtual desktops
> bind CM-1 grouponly1
> bind CM-2 grouponly2
> bind CM-3 grouponly3
> bind CM-4 grouponly4
> bind CM-5 grouponly5
> bind CM-6 grouponly6
> bind CM-7 grouponly7
> bind CM-8 grouponly8
> bind CM-9 grouponly9
> 
> ---

to move a window to another group (virtual desktop), you can
do it like this:

focus window
ctrl-alt-g (sticky, red border)
use one of the grouponly bindings to switch
ctrl-alt-g (unsticky, blue border)

Reply via email to