The Wobbly Windows plugin provides what is probably the most notorious effect Compiz was initially known for: windows that move like gelatin, with a spring-and-friction model.
Using Wobbly Windows
The Wobbly Windows is enabled by default, so it may be useful as a basic indicator that Compiz has been successfully launched.
A window can be moved by clicking and dragging its titlebar, or by holding down Alt and clicking and dragging any part of the window. Because Wobbly Windows uses grid geometry and physics, the window will wobble and stretch in different ways depending on which region is "grabbed".
- Maximizing a window will cause its corners to snap immediately to the corners of the screen, while the rest of the window stretches, springs and wobbles from the movement.
- Clicking and dragging on the corners and edges of a maximized window will cause it to bend or peel back, revealing anything behind it.
Holding down Shift while moving a window will cause it to snap and resist movement against the edges of other windows and of the screen.
Friction and Spring-K
You can configure the amount of friction the moving windows experience and the amount of spring force they have.
A good rule to remember when changing these values is:
The Friction amount refers to how much the window resists moving to the location where you drag it to. A high friction will produce windows that take longer to move; a low friction will cause windows to continue moving (gliding) in the same direction after they have been released.
The Spring K amount refers to a window's spring force. A high value will cause windows to move more quickly, and a low value will cause them to move to their position more slowly.
Grid Resolution refers to how precise the grid is for moving windows. A high value will produce smoother curves, but will also increase CPU usage.
Wobbly also can make windows "bounce" on a certain action.
Shiver will cause windows to bounce when the system bell sounds (regardless of which window or application triggered the bell).
Shiver for Map Effect will cause windows to bounce when they are created.
Shiver for Focus Effect will cause windows to bounce when they become focused.
Maximize Effect will cause the window's corners to move into place on maximize, then bounce.
You can also match the windows for these effects to apply to. See Window Matching for details on how to use this function.
- 'Map Windows' contains the match for windows to bounce when created, if the effect is enabled
- 'Focus Windows' contains the match for the windows to bounce when focused, if the effect is enabled
- 'Grab Windows' contains the match for the windows to bounce when grabbed (For moving and resizing)
- 'Move Windows' contains the match for the windows to react when moved.