On Mon, 5 Jan 2004, Fabian Braennstroem wrote:
> set_mod "Mod1"
> # Frames switching
> kpress "Down", "goto_below"
> kpress "Up", "goto_above"
> kpress "Left", "goto_left"
> kpress "Right", "goto_right"
In ionws.lua:
ionws_bindings{
kpress(DEFAULT_MOD.."Down", WIonWS.goto_below),
kpress(DEFAULT_MOD.."Up", WIonWS.goto_above),
kpress(DEFAULT_MOD.."Left", WIonWS.goto_left),
kpress(DEFAULT_MOD.."Right", WIonWS.goto_right),
}
> # Workspaces switching
> kpress "1", "switch_ws_nth", 0
> kpress "2", "switch_ws_nth", 1
> kpress "3", "switch_ws_nth", 2
> kpress "4", "switch_ws_nth", 3
> kpress "5", "switch_ws_nth", 4
> kpress "6", "switch_ws_nth", 5
> kpress "7", "switch_ws_nth", 6
> kpress "8", "switch_ws_nth", 7
> kpress "9", "switch_ws_nth", 8
Already defined.
> # create new workspace
> kpress "F8", "query_workspace_with"
>
In ion-bindings.lua:
genframe_bindings{
kpress(DEFAULT_MOD.."F8", querylib.query_workspace),
}
> With my current key-bindings just the second command works!?
> 1: kpress(DEFAULT_MOD.."Tab", WGenFrame.switch_next),
> 2: kpress(DEFAULT_MOD.."Shift+Tab", WGenFrame.switch_prev),
DEFAULT_MOD+Tab is also defined in ionws.lua and floatws.lua. I think you
have to remove those bindings.
> Is there a 'integrated' clock? (For larswm there was larsclock)
No, but you can use the dock with a clock applet. See
<http://dsv.su.se/~pelle/ion-dock/>.