index.md (2452B)
1 useless gap 2 =========== 3 4 Description 5 ----------- 6 For aesthetic purposes, this patch: 7 8 * adds "useless gaps" around windows 9 * removes everything (gaps and borders) when in monocle mode for aesthetic purpose. 10 11 The size of the gap is configured in `config.h`: 12 13 static const unsigned int gappx = 6; /* gap pixel between windows */ 14 15 Example 16 ------- 17 No gaps: 18 19 +-----------------+-------+ 20 | | | 21 | | | 22 | | | 23 | +-------| 24 | | | 25 | | | 26 | | | 27 +-----------------+-------+ 28 29 With gaps around windows: 30 31 +---------------------------+ 32 |+----------------++-------+| 33 || || || 34 || || || 35 || || || 36 || |+-------+| 37 || |+-------+| 38 || || || 39 || || || 40 || || || 41 |+----------------++-------+| 42 +---------------------------+ 43 44 NB: there are some alternatives in the patches section, adding gaps between 45 windows, but not between windows and the screen borders, only in the default 46 tile mode... 47 48 Download 49 -------- 50 * [dwm-uselessgap-20211119-58414bee958f2.diff](dwm-uselessgap-20211119-58414bee958f2.diff) (20211119) Fixed a bug that caused the inner vertical gap between the master and stack to be wider than the rest of the gaps. Disabled resizehints. 51 * [dwm-uselessgap-20200719-bb2e722.diff](dwm-uselessgap-20200719-bb2e722.diff) (20200719) 52 Fixed a bug where when moving a client to a different monitor, sometimes the gaps and the border wolud be drawn, when they shouldn't. 53 * [dwm-uselessgap-6.2.diff](dwm-uselessgap-6.2.diff) 54 * [dwm-uselessgap-6.1.diff](dwm-uselessgap-6.1.diff) (4K) (20150815), now supports nmaster. 55 * [dwm-uselessgap-5.9.diff](dwm-uselessgap-5.9.diff) (1.8k) (20110107 updated. Thanks Jordan for your bug report) 56 Updated to use the new resizeclient() function instead of resize() 57 * [dwm-uselessgap-5.8.diff](dwm-uselessgap-5.8.diff) (1.7k) (20100225 updated. Thanks Guillaume for your bug report) 58 Fix floating clients bug and remove all borders in monocle mode. 59 60 Author 61 ------ 62 * [jerome](http://blog.jardinmagique.info) - <jerome@gcu.info> 63 * [Cyril Cressent](https://cressent.org) - <cyril@cressent.org> (6.2 port) 64 * Mateus Auler - <mateusauler at protonmail dot com> (Bugfix) 65 * Thim Cederlund - <thim at cederlund dot de>