stumpwm.stumpwm-contrib/util/swm-gaps
2026-05-15 12:55:34 +05:30
..
package.lisp Add swm-gaps module 2017-07-30 14:19:15 -05:00
README.org Update note on the version of stumpwm this works with 2026-05-15 12:55:34 +05:30
screen.png Update screen and readme to reflect new changes 2018-05-01 12:29:00 -04:00
swm-gaps.asd Add swm-gaps module 2017-07-30 14:19:15 -05:00
swm-gaps.lisp Update swm-gaps to fix crash 2026-05-15 12:47:10 +05:30

swm-gaps

Pretty (useless) gaps for StumpWM.

/x11-wm/stumpwm.stumpwm-contrib/media/branch/master/util/swm-gaps/screen.png

This is a packed version of useless-gaps by vlnx with added outer borders. Credit goes to the original author.

This modifies StumpWM's internal functions maximize-window and neighbour, so might not work as expected if those definitions change in the core. Currently works with v24.11.

  (load-module "swm-gaps")

  ;; Head gaps run along the 4 borders of the monitor(s)
  (setf swm-gaps:*head-gaps-size* 20)

  ;; Inner gaps run along all the 4 borders of a window
  (setf swm-gaps:*inner-gaps-size* 5)

  ;; Outer gaps add more padding to the outermost borders of a window (touching
  ;; the screen border)
  (setf swm-gaps:*outer-gaps-size* 30)

  ;; Call command
  ;; toggle-gaps