diff --git a/Makefile b/Makefile index ffa69b4..96adb63 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ config.h: dwm: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} + strip dwm clean: rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz diff --git a/config.def.h b/config.def.h index 1c9bb1c..20cee87 100644 --- a/config.def.h +++ b/config.def.h @@ -13,11 +13,19 @@ static const int user_bh = 2; /* 2 is the default spacing arou static const int monoclemode = 4; static const char *fonts[] = { "monospace:size=10" }; static const char dmenufont[] = "monospace:size=8"; +#if defined(__OpenBSD__) +static const char col_gray1[] = "#232320"; +static const char col_gray2[] = "#ecea71"; +static const char col_gray3[] = "#b8b515"; // red on black +static const char col_gray4[] = "#fcfcfc"; // black on red +static const char col_cyan[] = "#b8b515"; +#elif defined(__FreeBSD__) static const char col_gray1[] = "#232020"; static const char col_gray2[] = "#f35869"; static const char col_gray3[] = "#b61729"; // red on black static const char col_gray4[] = "#fcfcfc"; // black on red static const char col_cyan[] = "#b61729"; +#endif static const unsigned int baralpha = 0xd0; static const unsigned int borderalpha = OPAQUE; static const char *colors[][3] = { diff --git a/config.mk b/config.mk index cec884b..88fd24e 100644 --- a/config.mk +++ b/config.mk @@ -35,7 +35,10 @@ FREETYPEINC = ${INC}/freetype2 # includes and libs .if "${UNAME}" == "OpenBSD" INCS = -I${X11INC} -I${FREETYPEINC} -LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender +LIBS = -L${X11LIB} \ + -static \ + -lX11 -lXinerama -lfontconfig -lXft -lXrender -lc -lxcb \ + -lpthread -lXext -lfreetype -lexpat -lz -lXau -lXdmcp .elif "${UNAME}" == "FreeBSD" INCS = -I${INC} -I${FREETYPEINC} LIBS = -L${LIB} \