st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

xresources.h (305B)


      1 #include <X11/Xresource.h>
      2 
      3 /* Xresources preferences */
      4 enum resource_type {
      5 	STRING = 0,
      6 	INTEGER = 1,
      7 	FLOAT = 2
      8 };
      9 
     10 typedef struct {
     11 	char *name;
     12 	enum resource_type type;
     13 	void *dst;
     14 } ResourcePref;
     15 
     16 int resource_load(XrmDatabase, char *, enum resource_type, void *);
     17 void config_init(Display *dpy);