mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
feat(workspace): make retile put the widths of scrolling columns back
retile already forgot the resize adjustments of the layouts that are made of splits, and the widths of the columns of the Scrolling layout are the same kind of thing. The focused workspace of each monitor gets its columns back to what scrolling-layout-columns gives, and the focused column stays where it is unless it has to scroll. The variant of retile that keeps resize dimensions keeps the widths.
This commit is contained in:
1 parent
65265c95f3
commit
2fb9dfdffa
5 files changed
+66
-1
No files matched your search
+4
-1
@@ -3,10 +3,13 @@
|
||||
```
|
||||
Force the retiling of all managed windows
|
||||
|
||||
Every column of a workspace in the Scrolling layout goes back to the width that
|
||||
scrolling-layout-columns gives.
|
||||
|
||||
Usage: komorebic retile
|
||||
|
||||
Options:
|
||||
-h, --help
|
||||
Print help
|
||||
Print help (see a summary with '-h')
|
||||
|
||||
```
|
||||
@@ -72,6 +72,10 @@ the focused column, by half of the [resize delta](../cli/resize-delta.md) for ea
|
||||
changes the width by the whole delta. Dragging an edge with the mouse does the same. Columns are as tall as the screen,
|
||||
so resizing a height does nothing.
|
||||
|
||||
[`komorebic retile`](../cli/retile.md) puts every column back to the width that
|
||||
[`scrolling-layout-columns`](../cli/scrolling-layout-columns.md) gives, on the focused workspace of each monitor. The
|
||||
focused column stays where it is on screen, unless it has to scroll to stay in view.
|
||||
|
||||
## Windows that are out of view
|
||||
|
||||
A window that scrolls out of view comes to rest at the edge of the screen that it left by, with 5 pixels of it still on
|
||||
|
||||
Reference in new issue
Block a user