diff options
| author | coasteen <coasteen@proton.me> | 2026-07-09 10:42:28 +0330 |
|---|---|---|
| committer | coasteen <coasteen@proton.me> | 2026-07-09 10:42:28 +0330 |
| commit | 8cbadb61604667b407b53ee1258433994fa4765a (patch) | |
| tree | 97765fb29418fd6278fcb4cbb9760893afaf7a58 /dwm/patch/xresources.h | |
Diffstat (limited to 'dwm/patch/xresources.h')
| -rwxr-xr-x | dwm/patch/xresources.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dwm/patch/xresources.h b/dwm/patch/xresources.h new file mode 100755 index 0000000..b06e194 --- /dev/null +++ b/dwm/patch/xresources.h @@ -0,0 +1,18 @@ +#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 load_xresources(void); +static void resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst); +static void xrdb(const Arg *arg); |
