Tiling window manager: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Image:tiling-before-after.png|left| | [[Image:tiling-before-after.png|left|200px|link=https://rasatpc.net/fvwm-ext/index.php/File:Tiling-before-after.png]] | ||
'''[[Tiling window manager]]''' | '''[[Tiling window manager]]''' performs tiling using the ''FvwmRearrange'' command. It arranges windows on the screen into non-overlapping frames, unlike the more common method of coordinate-based stacking of overlapping windows that aims to fully replicate the desktop metaphor. This is how NsCDE arranges windows vertically and horizontally. | ||
<pre> | <pre> | ||
FvwmRearrange -tile $0 -r -mn 3 -maximize 0 0 $[wa.width]p $[wa.height]p #vertical | FvwmRearrange -tile $0 -r -mn 3 -maximize 0 0 $[wa.width]p $[wa.height]p #vertical | ||
FvwmRearrange -tile $0 -r -mn 2 -maximize 0 0 $[wa.width]p $[wa.height]p #horizontal | FvwmRearrange -tile $0 -r -mn 2 -maximize 0 0 $[wa.width]p $[wa.height]p #horizontal | ||
</pre> | </pre> | ||
This code resets the windows to their initial position and size: | |||
<pre> | <pre> | ||
DestroyFunc DeTile | DestroyFunc DeTile | ||
| Line 17: | Line 12: | ||
+ I WindowId $0 WarpToWindow 50 50 | + I WindowId $0 WarpToWindow 50 50 | ||
</pre> | </pre> | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ | ||
[[Category:info]] | [[Category:info]] | ||
Latest revision as of 06:27, 13 July 2025
Tiling window manager performs tiling using the FvwmRearrange command. It arranges windows on the screen into non-overlapping frames, unlike the more common method of coordinate-based stacking of overlapping windows that aims to fully replicate the desktop metaphor. This is how NsCDE arranges windows vertically and horizontally.
FvwmRearrange -tile $0 -r -mn 3 -maximize 0 0 $[wa.width]p $[wa.height]p #vertical FvwmRearrange -tile $0 -r -mn 2 -maximize 0 0 $[wa.width]p $[wa.height]p #horizontal
This code resets the windows to their initial position and size:
DestroyFunc DeTile AddToFunc DeTile + I All (CurrentPage, !Iconic, CirculateHit, !Sticky) Maximize Off + I WindowId $0 WarpToWindow 50 50