diff --git a/Makefile b/Makefile index ff620a8..50fb285 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ CC ?= gcc -STRIP ?= strip -CFLAGS = -std=c99 -Os +CFLAGS = -Wall -std=c99 -Os LDFLAGS = -lxcb -lxcb-xinerama -lxcb-randr CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long\ -Wsign-conversion -Wconversion -Wimplicit-function-declaration @@ -22,7 +21,6 @@ doc: README.pod ${EXEC}: ${OBJS} ${CC} -o ${EXEC} ${OBJS} ${LDFLAGS} - ${STRIP} -s ${EXEC} debug: ${EXEC} debug: CC += ${CFDEBUG} diff --git a/README.pod b/README.pod index b276dd5..2887a5b 100644 --- a/README.pod +++ b/README.pod @@ -84,6 +84,10 @@ Set the text background color. The parameter I can be I<-> or a color in Set the text foreground color. The parameter I can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one. +=item BI + +Set the font used to draw the following text. The parameter I is a 1-based index of the font list supplied to bar. Any other value (for example I<->) resets bar to normal behaviour (matching the first font that can be used for that character). If the selected font can't be used to draw a character, bar will fall back to normal behaviour for that character. + =item BI Set the text underline color. The parameter I can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one. @@ -94,7 +98,11 @@ Create a clickable area starting from the current position, when the area is cli Eg. I<%{A:reboot:} Click here to reboot %{A}> -The I