File: FvwmRearrange.1.in

package info (click to toggle)
fvwm 1%3A2.6.7-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 16,752 kB
  • ctags: 14,275
  • sloc: ansic: 145,770; xml: 17,086; perl: 7,302; sh: 4,885; makefile: 1,055; yacc: 688; python: 629; lex: 188; sed: 11
file content (156 lines) | stat: -rw-r--r-- 5,861 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
.\" t
.\" @(#)@PACKAGE@-@VERSION@ @RELDATELONG@
.de EX		\"Begin example
.ne 5
.if n .sp 1
.if t .sp .5
.nf
.in +.5i
..
.de EE
.fi
.in -.5i
.if n .sp 1
.if t .sp .5
..
.TH FvwmRearrange 1 "@RELDATELONG@ (@VERSION@)" Fvwm "Fvwm Modules"
.UC
.SH NAME
FvwmRearrange \- rearrange fvwm windows
.SH SYNOPSIS
FvwmRearrange is spawned by fvwm, so no command line invocation will work.

.SH DESCRIPTION
This module can be called to tile or cascade windows.

When tiling the module attempts to tile windows on the current screen
subject to certain constraints.  Horizontal or vertical tiling is performed
so that each window does not overlap another, and by default each window
is resized to its nearest resize increment (note sometimes some space
might appear between tiled windows -- this is why).

When cascading the module attempts to cascade windows on the current screen
subject to certain constraints.  Layering is performed so consecutive
windows will have their window titles visible underneath the previous.

.SH INVOCATION
FvwmRearrange is best invoked from a menu, pop up or button.  There are a
number of command line options which can be used to constrain the
layering, these are described below.  As an example case, one could
call FvwmRearrange with the following arguments:
.EX
FvwmRearrange -tile -h 10 10 90 90
.EE
or
.EX
FvwmRearrange -cascade \-resize 10 2 80 70
.EE

The first invocation will horizontally tile windows with a bounding box
which starts at 10 by 10 percent into and down the screen and ends at
90 by 90 percent into and down the screen.

The second invocation will cascade windows starting 10 by 2 percent into and
down the screen.  Windows will be constrained to 80 by 70 percent of
the screen dimensions.  Since the \fIresize\fP is also specified,
windows will be resized to the given constrained width and height.

FvwmRearrange can be called as FvwmTile or FvwmCascade. This is equivalent
to providing the -tile or -cascade option. This form is obsolete and
supplied for backwards compatibility only.

Command-line arguments passed to FvwmRearrange are described here.
.IP \-a
Causes \fIall\fP window types to be affected, even ones with the
WindowListSkip style.
.IP \-animate
Attempt to do an animated move, this is ignored if \fI-resize\fP
or \fI-maximize\fP are used.
.IP \-cascade
Cascade windows. This argument must be the first on the command line.
This is the default.
.IP \-desk
Causes all windows on the desk to be cascaded/tiled instead of the
current screen only.
.IP \-flatx
Inhibits border width increment. Only used when cascading.
.IP \-flaty
Inhibits border height increment. Only used when cascading.
.IP \-h
Tiles horizontally (default is to tile vertically). Used for tiling only.
.IP "\-incx \fIarg\fP"
Specifies a horizontal increment which is successively added to
cascaded windows.  \fIarg\fP is a percentage of screen width, or pixel
value if a \fIp\fP is suffixed.  Default is zero. Used only for cascading.
.IP "\-incy \fIarg\fP"
Specifies a vertical increment which is successively added to cascaded
windows.  \fIarg\fP is a percentage of screen height, or pixel value
if a \fIp\fP is suffixed.  Default is zero. Used only for cascading.

.IP \-m
Causes maximized windows to also be affected (implied by \-a).
.IP \-maximize
When moving/resizing a window, put it also into maximized state.
.IP "\-mn \fIarg\fP"
Tiles up to \fIarg\fP windows in tile direction.  If more windows
exist, a new direction row or column is created (in effect, a matrix
is created). Used only when tiling windows.
.IP \-noanimate
Do not attempt to do an animated move.
.IP \-nomaximize
Do not put windows into maximized state.
.IP \-noraise
Inhibits window raising, leaving the depth ordering intact.
.IP \-noresize
Inhibits window resizing, leaving window sizes intact. This is the default
when cascading windows.
.IP \-nostretch
If tiling: inhibits window growth to fit tile.  Windows are shrunk to fit the
tile but not expanded.

If cascading: inhibits window expansion when using the \-resize option.  Windows
will only shrink to fit the maximal width and height (if given).
.IP \-r
Reverses the window sequence.
.IP \-resize
Forces all windows to resize to the constrained width and height (if
given). This is the default when tiling windows.
.IP \-s
Causes sticky windows to also be affected (implied by \-a).
.IP \-sp
Causes windows sticky across pages to also be affected (implied by \-a).
.IP \-sd
Causes windows sticky across desks to also be affected (implied by \-a).
.IP \-t
Causes transient windows to also be affected (implied by \-a).
.IP \-tile
Tile windows. This argument must be the first on the command line.
.IP \-u
Causes untitled windows to also be affected (implied by \-a).
.IP \-ewmhiwa
When rearranging windows, make the calculation ignore the working area, such
as EwmhBaseStruts; by default, FvwmRearrange will honour the working area.

Up to four numbers can be placed on the command line that are not
switches.  The first pair specify an x and y offset to start the first
window (default is 0, 0).
The meaning of the second pair depends on operation mode:

When tiling windows it specifies an absolute coordinate reference
denoting the lower right bounding box for tiling.

When cascading it specifies a maximal width and height for the layered
windows. If an affected window exceeds either this width or height, it
is resized to the maximal width or height.

If any number is suffixed with the letter p, then it is taken to be a
pixel value, otherwise it is interpreted as a screen percentage.
Specifying zero for any parameter is equivalent to not specifying it.

.SH BUGS
It is probably not a good idea to delete windows while windows are
being rearranged.

.SH AUTHORS
Andrew Veliath (original FvwmTile and FvwmCascade modules)
Dominik Vogt (merged FvwmTile and FvwmCascade to FvwmRearrange)