slstatus

OSHs slstatus build
git clone git://git.oshgnacknak.de/slstatus.git
Log | Files | Refs | README | LICENSE

commit 864f2246b5dfeb023137d8f5ebb599e4eb6aedda
parent 94ea78f0fe394fc6b42dc0d83be9abf3d1c77ea0
Author: Aaron Marcher <info@nulltime.net>
Date:   Fri,  4 Mar 2016 18:36:47 +0100

added config.def.h handling and fixed typo

Diffstat:
M.gitignore | 1+
MMakefile | 6+++++-
MREADME.md | 15+++++++++++++++
Rconfig.h -> config.def.h | 0
Mslstatus.c | 2+-
5 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,2 +1,3 @@ slstatus slstatus.o +config.h diff --git a/Makefile b/Makefile @@ -17,7 +17,11 @@ options: @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 $@ diff --git a/README.md b/README.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! diff --git a/config.h b/config.def.h diff --git a/slstatus.c b/slstatus.c @@ -13,7 +13,7 @@ char *smprintf(char *fmt, ...); -void *setstatus(char *str); +void setstatus(char *str); char *wifi_signal(); char *battery();