Skip to content

vanitygaps

bakkeby edited this page Jul 1, 2024 · 2 revisions

The vanitygaps patch adds a collection of layouts with gap support as well as a few that have cfacts support.

From the suckless page:

Inspired by some of the functionality of i3-gaps this patch adds (inner) gaps between client windows and (outer) gaps between windows and the screen edge in a flexible manner.

Named vanitygaps as it does not provide any real functionality as such and is purely a visual eyecandy that is perhaps best suited for people looking for that certain look and feel. That said this might look great on a monitor (for monitoring purposes).

The patch provides:

  • option to control all gaps in unison (like fullgaps)
  • option to control inner gaps in unison (like gaps)
  • option to control inner and outer gaps separately
  • option to control the inner horizontal and vertical gaps separately
  • option to control the outer horizontal and vertical gaps separately
  • option to toggle gaps on and off
  • option to reset gaps back to default
  • option to show no outer gaps when there is only one window (smart gaps)
  • example keyboard shortcuts to change the gaps on the fly

The example keyboard shortcuts included are:

  • Alt+Super+0toggle gaps on and off
  • Alt+Super+Shift+0reset gaps back to default
  • Alt+Super+hincrease all gaps
  • Alt+Super+ldecrease all gaps
  • Alt+Super+Shift+hincrease outer gaps
  • Alt+Super+Shift+ldecrease outer gaps
  • Alt+Super+Ctrl+hincrease inner gaps
  • Alt+Super+Ctrl+ldecrease inner gaps
  • Alt+yincrease inner horizontal gaps
  • Alt+odecrease inner horizontal gaps
  • Alt+Ctrl+yincrease inner vertical gaps
  • Alt+Ctrl+odecrease outer vertical gaps
  • Alt+Super+yincrease outer horizontal gaps
  • Alt+Super+odecrease outer horizontal gaps
  • Alt+Shift+yincrease outer vertical gaps
  • Alt+Shift+odecrease outer vertical gaps

Nobody should need all of these, but they are included for demo purposes and for experimentation. Consider trimming these down to what you actually use.

NB: You may also want to disable resizehints to get even gaps.

Download

Clone this wiki locally