aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLajos Koszti <ajnasz@ajnasz.hu>2012-04-06 12:10:24 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-04-06 12:11:16 (GMT)
commit7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024 (patch)
treec2a8f4aa658783c6454b7643ce2717acaa744101 /doc
parent5d56046b68635cea2c187e59a9d8c514e2d6bdb2 (diff)
downloadfluxbox-7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024.zip
fluxbox-7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024.tar.bz2
Allow percentage values for some Window commands
Diffstat (limited to 'doc')
-rw-r--r--doc/asciidoc/fluxbox-apps.txt9
-rw-r--r--doc/asciidoc/fluxbox-keys.txt27
2 files changed, 22 insertions, 14 deletions
diff --git a/doc/asciidoc/fluxbox-apps.txt b/doc/asciidoc/fluxbox-apps.txt
index 26f560b..07bac0e 100644
--- a/doc/asciidoc/fluxbox-apps.txt
+++ b/doc/asciidoc/fluxbox-apps.txt
@@ -114,14 +114,17 @@ respectively.
114 number. The named ones are: 2-AboveDock, 4-Dock, 6-Top, 8-Normal, 10-Bottom, 114 number. The named ones are: 2-AboveDock, 4-Dock, 6-Top, 8-Normal, 10-Bottom,
115 12-Desktop. 115 12-Desktop.
116 116
117*[Dimensions]* {'width' 'height'}:: 117*[Dimensions]* {'width[%]' 'height[%]'}::
118 Opens the application with the specified 'width' and 'height', in pixels. 118 Opens the application with the specified 'width' and 'height', in pixels.
119 If the value is given in percent, then the window size will be based on
120 the current screen's size.
119 121
120*[Position]* ('anchor') {'X' 'Y'}:: 122*[Position]* ('anchor') {'X[%]' 'Y[%]'}::
121Position the application at a particular spot. By default the upper-left corner 123Position the application at a particular spot. By default the upper-left corner
122is placed at screen coordinates ('X','Y'). If you specify an 'anchor', say 124is placed at screen coordinates ('X','Y'). If you specify an 'anchor', say
123BottomRight, then the lower-right corner of the window is positioned ('X','Y') 125BottomRight, then the lower-right corner of the window is positioned ('X','Y')
124pixels from the lower-right corner of the screen. 126pixels from the lower-right corner of the screen. If the value is given in
127percent, then the coordinates will be based on the current screen's size.
125+ 128+
126'anchor' may be set to one of:;; 129'anchor' may be set to one of:;;
127*TopLeft Left BottomLeft Top Center Bottom TopRight Right BottomRight* 130*TopLeft Left BottomLeft Top Center Bottom TopRight Right BottomRight*
diff --git a/doc/asciidoc/fluxbox-keys.txt b/doc/asciidoc/fluxbox-keys.txt
index 2679bc0..0d0b52e 100644
--- a/doc/asciidoc/fluxbox-keys.txt
+++ b/doc/asciidoc/fluxbox-keys.txt
@@ -259,17 +259,22 @@ These commands ordinarily affect only the currently focused window. The
259*DetachClient*:: 259*DetachClient*::
260 Remove the current tab from the tab group, placing it in its own window. 260 Remove the current tab from the tab group, placing it in its own window.
261 261
262*ResizeTo* 'width' 'height':: 262*ResizeTo* 'width[%]' 'height[%]'::
263 Resizes the window to the given width and height. 263 Resizes the window to the given width and height. If the value is given in
264 264 percent, then the window size will be based on the current screen's size.
265*Resize* 'delta-width' 'delta-height':: 265
266 Resizes the window relative to the current width and height. 266*Resize* 'delta-width[%]' 'delta-height[%]'::
267 267 Resizes the window relative to the current width and height. If the value
268*ResizeHorizontal* 'delta-width' / *ResizeVertical* 'delta-height':: 268 is given in percent, then the window size will be based on the current
269 Resizes the window in one dimension only 269 window's size.
270 270
271*MoveTo* 'x' 'y' ['anchor']:: 271*ResizeHorizontal* 'delta-width[%]' / *ResizeVertical* 'delta-height[%]'::
272Moves the window to the given coordinates, given in pixels. 272 Resizes the window in one dimension only. If the value is given in
273 percent, then the window size will be based on the current window's size.
274
275*MoveTo* 'x[%]' 'y[%]' ['anchor']::
276Moves the window to the given coordinates, given in pixels or relatively to
277the current screen size if % is specified after the value.
273+ 278+
274If either 'x' or 'y' is set to *\**, that coordinate will be ignored, and the 279If either 'x' or 'y' is set to *\**, that coordinate will be ignored, and the
275movement will only take place in one dimension. 280movement will only take place in one dimension.