Skip to content

SmartGaps

Bakkeby edited this page Feb 27, 2024 · 1 revision

By default tiled windows are laid out with 5px outer gaps, controlled by the gappoh and gappov settings in config.h.

SmartGaps_normal.jpg

If the SmartGaps functionality is enabled and there is only one tiled client then the outer gaps are multipled with the value of the smartgaps_fact variable defined in config.h. This applies to all layouts.

By default this value is 0 which means that outer gaps are removed.

SmartGaps_0x.jpg

While many people prefer seeing no gaps when there is only one tiled client some tend to want more exaggerated gaps in this situation.

Here is an example where smartgaps_fact is set to 6 giving outer gaps of 30px.

SmartGaps_6x.jpg

The SmartGapsMonocle functionality enables the above features for the monocle layout regardless of how many clients there are.

Back to Functionality.

Clone this wiki locally