diff options
| author | bakkeby <[email protected]> | 2020-06-11 19:42:00 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-06-11 16:44:43 +0200 |
| commit | 8c4eaccf16b533cefe34b090e970ff66911a2a7b (patch) | |
| tree | 4ea444a2e180fdf728b4f29b8a912dceedaa7cde /config.mk | |
| parent | e355c49833bf3bb11457ae32dbe9696d33e10883 (diff) | |
| download | dwm-flexipatch-8c4eaccf16b533cefe34b090e970ff66911a2a7b.tar.gz dwm-flexipatch-8c4eaccf16b533cefe34b090e970ff66911a2a7b.zip | |
Adding pango patch (ref. #10)
Text from original patch:
Using pango markup for status text
Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -26,6 +26,10 @@ FREETYPEINC = /usr/include/freetype2 # Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH #MPDCLIENT = -lmpdclient +# Uncomment for the pango patch / PANGO_PATCH +#PANGOINC = `pkg-config --cflags xft pango pangoxft` +#PANGOLIB = `pkg-config --libs xft pango pangoxft` + # Uncomment this for the rounded corners patch / ROUNDED_CORNERS_PATCH #XEXTLIB = -lXext @@ -33,9 +37,8 @@ FREETYPEINC = /usr/include/freetype2 #XCBLIBS = -lX11-xcb -lxcb -lxcb-res # includes and libs -INCS = -I${X11INC} -I${FREETYPEINC} -LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${XRENDER} ${MPDCLIENT} ${XEXTLIB} ${XCBLIBS} - +INCS = -I${X11INC} -I${FREETYPEINC} ${PANGOINC} +LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${XRENDER} ${MPDCLIENT} ${XEXTLIB} ${XCBLIBS} ${PANGOLIB} # flags CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} |
