Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/suckless/tabbed/patch/xresources.h

18 lines
327 B
C
Raw Normal View History

2021-12-28 05:04:49 +00:00
#include <X11/Xresource.h>
/* Xresources preferences */
enum resource_type {
STRING = 0,
INTEGER = 1,
FLOAT = 2
};
typedef struct {
char *name;
enum resource_type type;
void *dst;
} ResourcePref;
static void config_init(void);
static int resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst);