you are welcome to start from my implementation http://turingmachine.org/~dmg/temp/cycle-per-class.jl
It includes a function to cycle in top window per class, and to switch widnows in the same workspace: dmg-cycle-classes 'dmg-cycle-classes-backwards dmg-cycle-in-workspace, dmg-cycle-in-workspace-backwards At the very least they should save you some time in finding how to declare cycling functions. --dmg On Mon, Nov 23, 2009 at 12:10 AM, Janek Kozicki <[email protected]> wrote: > Hi, > > Currently we can set in SawfishConfig what is the behaviour of > "Cycle windows", by clicking "Include windows on all > workspaces/viewports when cycling" > > It would be great if someone (me?) added two more functions: > > - cycle windows in workspace only > - cycle windows in viewport only > > > That is because sometimes I want to cycle across everything across my > 40+ viewports, and sometimes I want to cycle only current viewport. > > Launching SawfishConfig each time only to toggle this variable seems > excessive. > > Alternatively a keybinding to quickly toggle this variable would make > sense. Hmm, that should be possible now... but I don't even know how > to negate a variable in lisp :) Berhaps I would bind this shell > command to some key (what is the variable name?): > > #!/bin/bash > sawfish-client -f (set variable (not variable) ) > > > or such. My lisp is terrible, I know. > > best regards > -- > Janek Kozicki | > > -- --dmg --- Daniel M. German http://turingmachine.org
