shrink package:xmonad-contrib
Shrink the window's rectangle when applying a decoration.
interface to the X11 library function XShrinkRegion().
Reduce original window size to make space for decoration, if
necessary.
ShrinkFrom x is now the equivalent of ShrinkFromBy x
0.05
Shrink the specified edge of a window until it snaps against another
window or the edge of the screen.
Check if the widget is shrinkable, i.e. if it's width can be reduced
if there is not enough place in the decoration.
Shrink window title so that it would fit in decoration.