From: Daniel Liu Date: Thu, 30 Jul 2020 03:31:32 +0000 (-0400) Subject: xresources X-Git-Url: https://git.danieliu.xyz/?p=dwm.git;a=commitdiff_plain;h=e4db2af451d1b7838ffc7c65f855eb38b40f7cc6 xresources --- e4db2af451d1b7838ffc7c65f855eb38b40f7cc6 diff --cc dwm.c index 527bea2,02db465..4edd7ce --- a/dwm.c +++ b/dwm.c @@@ -238,13 -250,11 +252,15 @@@ static int xerror(Display *dpy, XErrorE static int xerrordummy(Display *dpy, XErrorEvent *ee); static int xerrorstart(Display *dpy, XErrorEvent *ee); static void zoom(const Arg *arg); + static void load_xresources(void); + static void resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst); /* variables */ +static const char autostartblocksh[] = "autostart_blocking.sh"; +static const char autostartsh[] = "autostart.sh"; static const char broken[] = "broken"; +static const char dwmdir[] = "dwm"; +static const char localshare[] = ".local/share"; static char stext[256]; static int screen; static int sw, sh; /* X display screen geometry width, height */