2 -- Ion tiling module configuration file
5 -- Bindings for the tilings.
7 defbindings("WTiling", {
8 bdoc("Split current frame vertically."),
9 kpress(META
.."S", "WTiling.split_at(_, _sub, 'bottom', true)"),
11 bdoc("Go to frame above/below/right/left of current frame."),
12 kpress(META
.."P", "ioncore.goto_next(_sub, 'up', {no_ascend=_})"),
13 kpress(META
.."N", "ioncore.goto_next(_sub, 'down', {no_ascend=_})"),
14 kpress(META
.."Tab", "ioncore.goto_next(_sub, 'right')"),
16 kpress("Tab", "ioncore.goto_next(_sub, 'left')"),
18 bdoc("Split current frame horizontally."),
19 kpress("S", "WTiling.split_at(_, _sub, 'right', true)"),
21 bdoc("Destroy current frame."),
22 kpress("X", "WTiling.unsplit_at(_, _sub)"),
29 defbindings("WFrame.floating", {
31 bdoc("Tile frame, if no tiling exists on the workspace"),
32 kpress("B", "mod_tiling.mkbottom(_)"),
37 -- Context menu for tiled workspaces.
39 defctxmenu("WTiling", "Tiling", {
40 menuentry("Destroy frame",
41 "WTiling.unsplit_at(_, _sub)"),
43 menuentry("Split vertically",
44 "WTiling.split_at(_, _sub, 'bottom', true)"),
45 menuentry("Split horizontally",
46 "WTiling.split_at(_, _sub, 'right', true)"),
48 menuentry("Flip", "WTiling.flip_at(_, _sub)"),
49 menuentry("Transpose", "WTiling.transpose_at(_, _sub)"),
51 menuentry("Untile", "mod_tiling.untile(_)"),
53 submenu("Float split", {
55 "WTiling.set_floating_at(_, _sub, 'toggle', 'left')"),
57 "WTiling.set_floating_at(_, _sub, 'toggle', 'right')"),
59 "WTiling.set_floating_at(_, _sub, 'toggle', 'up')"),
61 "WTiling.set_floating_at(_, _sub, 'toggle', 'down')"),
65 menuentry("Split vertically",
66 "WTiling.split_top(_, 'bottom')"),
67 menuentry("Split horizontally",
68 "WTiling.split_top(_, 'right')"),
69 menuentry("Flip", "WTiling.flip_at(_)"),
70 menuentry("Transpose", "WTiling.transpose_at(_)"),
75 -- Extra context menu extra entries for floatframes.
77 defctxmenu("WFrame.floating", "Floating frame", {
79 menuentry("New tiling", "mod_tiling.mkbottom(_)"),