dwl-patches/stale-patches/genericgaps.md
A Frederick Christensen da2f40c982
Renamed _STALE_PATCHES -> stale-patches
The odd name was necessary historically to keep the directory
visible at the top of a large list of patches.
This is no longer necessary.
2025-01-04 20:38:16 -06:00

1.3 KiB

Description

This patch is a modified version of vanitygaps that adds gaps around clients regardless of a layout. It means you can apply any layout patch and the gaps will be shown properly as long as the layout does not add any gaps on its own.

This works by allowing a layout to place clients normally without gaps, and then correcting positions and dimensions of clients afterwards to add gaps around them. To make it work, I had to modify resize() function, and, as a side effect, this change fixed some flickering I experienced when using snail layout.

Changelog

2023-11-24:

  • Refactor, it does exactly the same, just using less code.
  • Replace gappih, gappiv, gappoh and gappov with only gappx. They don't do anything anyways.

Download

Authors