Next: Frame Navigation Commands, Previous: Splitting Frames, Up: Frames
ratpoison provides a command, resize, that resizes the current frame. It is bound to the key C-t r by default. resize can be used non-interactively by providing two arguments: the number of pixels to grow horizontally and the number to grow vertically. For example, if you wanted to grow the current window by 10 pixels horizontally and shrink it vertically by 50 you could enter the command:
resize 10 -50
When resizing interactively, the following keys are used:
The increment size used to resize the frame interactively is customized with the command set resizeunit.
Set the number of pixels a frame will grow or shrink by when being dynamically resized.
When called with no arguments, the current setting is returned.
Resize the current frame by horizontal pixels horizontally, and vertical pixels vertically. If no arguments are given and the command is called interactively, ratpoison will let the user dynamically resize the frame using C-p to shrink vertically, C-n to grow vertically, C-b to shrink horizontally, C-f to grow horizontally, and s to shrink the frame to the size of the window (See the shrink command). When you have resized the frame to your liking, press Return to finish.