X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=75aa50c70c397af322dce2897a38b48d576e312e;hb=0c3544d42fba23b99a07cf18f35ae25a3121765f;hp=e95633b5e52f9b7b961f3c1c623c74942fb960fc;hpb=adaa28a6e600f636f5e86244ccef69e98419ba1a;p=dwm.git diff --git a/dwm.h b/dwm.h index e95633b..75aa50c 100644 --- a/dwm.h +++ b/dwm.h @@ -8,9 +8,14 @@ /********** CUSTOMIZE **********/ #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" +#define BGCOLOR "#0a2c2d" +#define FGCOLOR "#ddeeee" +#define BORDERCOLOR "#176164" +/* #define BGCOLOR "#666699" #define FGCOLOR "#eeeeee" #define BORDERCOLOR "#9999CC" +*/ #define MASTERW 52 /* percent */ #define WM_PROTOCOL_DELWIN 1 @@ -66,7 +71,7 @@ struct Client { int grav; unsigned int border; long flags; - Bool dofloat; + Bool isfloat; Window win; Window title; Client *next; @@ -77,7 +82,7 @@ struct Rule { const char *class; const char *instance; char *tags[TLast]; - Bool dofloat; + Bool isfloat; }; struct Key { @@ -89,7 +94,7 @@ struct Key { extern Display *dpy; extern Window root, barwin; -extern Atom wm_atom[WMLast], net_atom[NetLast]; +extern Atom wmatom[WMLast], netatom[NetLast]; extern Cursor cursor[CurLast]; extern Bool running, issel; extern void (*handler[LASTEvent])(XEvent *); @@ -124,11 +129,9 @@ extern void zoom(Arg *arg); /* draw.c */ extern void drawall(); extern void drawstatus(); -extern void drawtext(const char *text, Bool invert, Bool border); extern void drawtitle(Client *c); extern unsigned long getcolor(const char *colstr); extern void setfont(const char *fontstr); -extern unsigned int textnw(char *text, unsigned int len); extern unsigned int textw(char *text); /* event.c */