diff --git a/cmd/wm/fs2.c b/cmd/wm/fs2.c index e1c825c4..53a02bfd 100644 --- a/cmd/wm/fs2.c +++ b/cmd/wm/fs2.c @@ -630,6 +630,7 @@ fs_write(Req *r) { i=strlen(def.font); write_to_buf(r, &def.font, &i, 0); def.font[i] = '\0'; + blitz_loadfont(&blitzfont, def.font); r->ofcall.count = i- r->ifcall.offset; return respond(r, nil); case FsFCtags: diff --git a/libcext/Makefile b/libcext/Makefile index 52414e3f..8a016889 100644 --- a/libcext/Makefile +++ b/libcext/Makefile @@ -3,7 +3,8 @@ include ../config.mk -SRC = assert.c emallocz.c strlcat.c strlcpy.c tokenize.c trim.c vector.c +SRC = assert.c emallocz.c strlcat.c strlcpy.c tokenize.c \ + trim.c vector.c OBJ = ${SRC:.c=.o} diff --git a/libcext/cext.h b/libcext/cext.h index 8f52dc14..0e48afc3 100644 --- a/libcext/cext.h +++ b/libcext/cext.h @@ -9,6 +9,9 @@ #define nil (void *)0 #endif +/* asprintf.c */ +int cext_asprintf(char **str, char const *fmt, ...); + /* emallocz.c */ void *cext_emallocz(unsigned int size); diff --git a/rc/wmiirc b/rc/wmiirc index 075c8af9..62e36f4b 100644 --- a/rc/wmiirc +++ b/rc/wmiirc @@ -32,18 +32,18 @@ do done # WM CONFIGURATION -xwrite /def/border 2 -xwrite /def/font $WMII_FONT -xwrite /def/selcolors $WMII_SELCOLORS -xwrite /def/normcolors $WMII_NORMCOLORS +xwrite /border 2 +xwrite /font $WMII_FONT +xwrite /selcolors $WMII_SELCOLORS +xwrite /normcolors $WMII_NORMCOLORS # COLUMN RULES -wmiir write /def/colrules < 50+50 EOF # TAGGING RULES -wmiir write /def/tagrules < ~ /Gimp.*/ -> ~ /MPlayer.*/ -> ~ @@ -58,8 +58,8 @@ PROGS_FILE=`mktemp /tmp/.wmiimenu.proglist.XXXXXX` || exit 2 proglist `echo "$OLD_PATH" | tr : ' '` >$PROGS_FILE & # SHORTCUTS -xwrite /def/grabmod Mod1 -wmiir write /def/keys <