On Mon, 17 Nov 2003 17:50:54 +0000
Hussein Jodiyawalla <[EMAIL PROTECTED]> wrote:
> I think I have made a mistake trying to explain what I want to do... I
> think I should have said I want to switch between WIonWS's instead of
> mentioning frames... maybe I could explain a bit better with an ACSII
> diagram from my workspaces file:
>
>
> WScreen
> |
> WIonWS (WIWS)
> / \
> WIonFrame WIonFrame (WIF)
> | / / / | \ \ \
> (gkrellm) / | | | | | \
...
> / / | | | \ \
> -->WIWS WIWS WIWS WIWS WIWS WIWS WIWS <--
> / / | \ \ | | \ \ \
> WIF WIF WIF WIF WIF WIF WIF WIF WIF WIF
>
>
> I load applications in the bottom most WIonFrames, the gkrellm WIonFrame
> on the left has my status bar in it. I would like to bind some keys to
> switch between the WIonWS's in between the --> <-- markings.
>
my setup is quite similar to yours, just that i have a FloatWS in the right
frame, and a ionws in a ("fullscreen") floatframe inside it
( http://irc.wearlab.de/~r00t/ion-floats.jpg )
it might be trivial compared to your script, but i use the following to
switch between my workspaces (where ion_root is the frame contaning the WSs):
(and i don't see why you'd need anything more complex just to switch
between workspaces in your setup)
-- switch clients within ion_root('s only child frame)
kpress(DEFAULT_MOD.."Right", function()
lookup_workspace("ion_root"):current():switch_next() end),
kpress(DEFAULT_MOD.."Left", function()
lookup_workspace("ion_root"):current():switch_prev() end),
ofcourse having <n> modifiers or cursor-key directions to switch <n>
nesting levels directly would be more interesting.
> --
> Hussein Jodiyawalla
> mightymouse.net