X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.ion2%2Fionws.lua;fp=etc%2Fskel%2F.ion2%2Fionws.lua;h=0000000000000000000000000000000000000000;hb=28cdedbfbd198c31d1d27b40f21321f81afdb396;hp=d97f404dbd49b2bbacc9563b8e0da7c21bcfe2a1;hpb=365d21548c9681527a599e648fd77a5b07c9ae53;p=grml-desktop.git diff --git a/etc/skel/.ion2/ionws.lua b/etc/skel/.ion2/ionws.lua deleted file mode 100644 index d97f404..0000000 --- a/etc/skel/.ion2/ionws.lua +++ /dev/null @@ -1,71 +0,0 @@ --- --- Ion ionws module configuration file --- - --- Bindings for the tiled workspaces (ionws). These should work on any --- object on the workspace. - -include("go_frame_or_desk") - -ionws_bindings { - kpress(DEFAULT_MOD.."Down", function(f) go_frame_or_desk(f, "down") end), - kpress(DEFAULT_MOD.."Up", function(f) go_frame_or_desk(f, "up") end), - kpress(DEFAULT_MOD.."Right", function(f) go_frame_or_desk(f, "right") end), - kpress(DEFAULT_MOD.."Left", function(f) go_frame_or_desk(f, "left") end) -} - - - --- Frame bindings. These work in (Ion/tiled-style) frames. Some bindings --- that are common to all frame types and multiplexes are defined in --- ion-bindings.lua. - -ionframe_bindings{ - kpress(DEFAULT_MOD.."R", WIonFrame.begin_resize), - kpress(DEFAULT_MOD.."S", - function(frame) frame:split("bottom") end), - - submap(DEFAULT_MOD.."K", { - --kpress("AnyModifier+T", - -- make_mplex_clientwin_fn(WClientWin.toggle_transients_pos)), - kpress("AnyModifier+X", WIonFrame.relocate_and_close), - kpress("AnyModifier+S", - function(frame) frame:split("right") end), - }), - - mclick("Button1", WGenFrame.p_switch_tab, "tab"), - mdblclick("Button1", WIonFrame.toggle_shade, "tab"), - mdrag("Button1", WGenFrame.p_tabdrag, "tab"), - mdrag("Button1", WGenFrame.p_resize, "border"), - - mclick("Button2", WGenFrame.p_switch_tab, "tab"), - mdrag("Button2", WGenFrame.p_tabdrag, "tab"), - - mdrag(DEFAULT_MOD.."Button3", WGenFrame.p_resize), -} - - --- Frame resize mode bindings - -ionframe_moveres_bindings{ - kpress("AnyModifier+Escape", WIonFrame.cancel_resize), - kpress("AnyModifier+Return", WIonFrame.end_resize), - - kpress("Left", function(f) f:do_resize( 1, 0, 0, 0) end), - kpress("Right",function(f) f:do_resize( 0, 1, 0, 0) end), - kpress("Up", function(f) f:do_resize( 0, 0, 1, 0) end), - kpress("Down", function(f) f:do_resize( 0, 0, 0, 1) end), - kpress("F", function(f) f:do_resize( 1, 0, 0, 0) end), - kpress("B", function(f) f:do_resize( 0, 1, 0, 0) end), - kpress("P", function(f) f:do_resize( 0, 0, 1, 0) end), - kpress("N", function(f) f:do_resize( 0, 0, 0, 1) end), - - kpress("Shift+Left", function(f) f:do_resize(-1, 0, 0, 0) end), - kpress("Shift+Right",function(f) f:do_resize( 0,-1, 0, 0) end), - kpress("Shift+Up", function(f) f:do_resize( 0, 0,-1, 0) end), - kpress("Shift+Down", function(f) f:do_resize( 0, 0, 0,-1) end), - kpress("Shift+F", function(f) f:do_resize(-1, 0, 0, 0) end), - kpress("Shift+B", function(f) f:do_resize( 0,-1, 0, 0) end), - kpress("Shift+P", function(f) f:do_resize( 0, 0,-1, 0) end), - kpress("Shift+N", function(f) f:do_resize( 0, 0, 0,-1) end), -}