rename action columnToggleStacked
This commit is contained in:
@@ -128,13 +128,6 @@ function initActions(world: World) {
|
||||
});
|
||||
},
|
||||
|
||||
windowExpand: () => {
|
||||
world.doIfTiledFocused(false, (window, column, grid) => {
|
||||
column.toggleStacked();
|
||||
grid.container.arrange();
|
||||
});
|
||||
},
|
||||
|
||||
windowToggleFloating: () => {
|
||||
const kwinClient = workspace.activeClient;
|
||||
world.toggleFloatingClient(kwinClient);
|
||||
@@ -168,6 +161,13 @@ function initActions(world: World) {
|
||||
});
|
||||
},
|
||||
|
||||
columnToggleStacked: () => {
|
||||
world.doIfTiledFocused(false, (window, column, grid) => {
|
||||
column.toggleStacked();
|
||||
grid.container.arrange();
|
||||
});
|
||||
},
|
||||
|
||||
columnWidthIncrease: () => {
|
||||
world.doIfTiledFocused(false, (window, column, grid) => {
|
||||
grid.increaseColumnWidth(column);
|
||||
|
||||
@@ -80,11 +80,10 @@ const keyBindings: KeyBinding[] = [
|
||||
"action": "windowMoveEnd",
|
||||
},
|
||||
{
|
||||
"name": "window-expand",
|
||||
"description": "Expand window",
|
||||
"comment": "Expands focused window vertically; toggles stacked layout for focused column",
|
||||
"name": "column-toggle-stacked",
|
||||
"description": "Toggle stacked layout for focused column",
|
||||
"defaultKeySequence": "Meta+X",
|
||||
"action": "windowExpand",
|
||||
"action": "columnToggleStacked",
|
||||
},
|
||||
{
|
||||
"name": "column-move-left",
|
||||
|
||||
Reference in New Issue
Block a user