rename action columnToggleStacked

This commit is contained in:
Peter Fajdiga
2023-07-07 14:40:32 +02:00
parent 81ef0e0442
commit fce442c25d
2 changed files with 10 additions and 11 deletions

View File

@@ -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);

View File

@@ -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",