all repos — slstatus @ 864f2246b5dfeb023137d8f5ebb599e4eb6aedda

my build of slstatus (tools.suckless.org/slstatus/)

added config.def.h handling and fixed typo
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 18:36:47 +0100
commit

864f2246b5dfeb023137d8f5ebb599e4eb6aedda

parent

94ea78f0fe394fc6b42dc0d83be9abf3d1c77ea0

5 files changed, 22 insertions(+), 2 deletions(-)

jump to
M .gitignore.gitignore

@@ -1,2 +1,3 @@

slstatus slstatus.o +config.h
M MakefileMakefile

@@ -17,7 +17,11 @@ .c.o:

@echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.mk +${OBJ}: config.h config.mk + +config.h: + @echo creating $@ from config.def.h + @cp config.def.h $@ ${NAME}: ${OBJ} @echo CC -o $@
M README.mdREADME.md

@@ -1,2 +1,17 @@

# slstatus A suckless status monitor for DWM written in pure C without any system() calls. + +# information + +- wifi percentage +- battery percentage +- cpu usage in percent +- cpu temperature +- ram usage in percent +- alsa volume level in percent +- date +- time + +# configuration + +Just edit config.h and recompile!
M slstatus.cslstatus.c

@@ -13,7 +13,7 @@ #include "config.h"

char *smprintf(char *fmt, ...); -void *setstatus(char *str); +void setstatus(char *str); char *wifi_signal(); char *battery();