On Sun, May 31, 2020 at 10:43:20PM +0200, Joerg Jung wrote:
Am 31.05.2020 um 15:49 schrieb Klemens Nanni <[email protected]>:
Let's do one thing at a time, if others later decide to change colors
they can do so, I'd like to fix the fonts due the implied dependencies,
all else I'd like to leave the any future porter/MAINTAINER.
This topic comes up every few months for either of the suckless ports,
see archives. Developers (e.g. tedu and myself), who are actively using
dwm have stated that they prefer to keep color patches (across suckless
ports) instead of following the randomly changing upstream colors -
think of it as principal of least surprise after upgrades.
IMHO this includes keeping Terminus, despite upstream dropped it long
time ago already. So, I’m not in favor of the proposed patch, but would
not object, if you insist on moving on this way.
Either way, I can take care of maintaining DWM.
While fixing another font issue (bitmap fonts in gtk vim with new
pango), I figured out how to force a font upon a select program by
fontconfig. This might be used to "configure" suckless ports at least
fontwise.
This is how its done in `~/.fonts.conf`:
```
<fontconfig>
<match>
<test name="prgname">
<string>gvim</string>
</test>
<edit mode="assign" name="family">
<string>Ttyp0</string>
</edit>
<edit mode="assign" name="pixelsize">
<double>15</double>
</edit>
</match>
</fontconfig>
```
I believe there is also a st patch to use X resources for configuration.
Christopher
--
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2 0DEF 87E2 92A7 13E5 DEE1