[hackers] [dwm][patch] Xresources patch ported from st

From: Phill McCrackin <miskuzius_AT_gmail.com>
Date: Tue, 9 Jun 2020 09:18:09 +0400

 This patch acts exactly like st patch of the same name. it has an
advantage over dwm xrdb patch (some code of which it also
incorporates) as in it can also handle other types of settings like
int, float etc.

works like this:
in config file, in the resources struct, are put the name to look up
in Xresources, the type of variable to be expected, and the address of
the actual setting.

While the names don't require anything much in config, in Xresources
file they need to be prefixed with "dwm." to be read. like

I'm sorry if I'm breaking any conventions submitting this patch like this.


Received on Tue Jun 09 2020 - 07:18:09 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 09 2020 - 07:24:33 CEST