diff --git a/config.c b/config.c index dfa79971..f7f0fbe7 100644 --- a/config.c +++ b/config.c @@ -257,7 +257,7 @@ parse_config(Display * disp, int scr,const char *confpatharg, awesome_config *aw a_strcat(confpath, confpath_len, AWESOME_CONFIG_FILE); } - a_strcpy(awesomeconf->statustext, sizeof(awesomeconf->statustext), "awesome-" VERSION); + a_strcpy(awesomeconf->statustext, sizeof(awesomeconf->statustext), "awesome-" VERSION " (" RELEASE ")"); /* store display */ awesomeconf->display = disp; diff --git a/config.mk b/config.mk index 7ce645ef..724e353e 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,6 @@ # awesome version VERSION = $(shell git describe 2>/dev/null || echo devel) +RELEASE = "Productivity Breaker" # Customize below to fit your system @@ -18,7 +19,7 @@ INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfuse xft cairo` LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfuse xft cairo` -lXext -lXrandr -lXinerama # flags -CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" +CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\" LDFLAGS = -ggdb3 ${LIBS} # compiler and linker