diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | config.def.h (renamed from config.h) | 0 | ||||
-rw-r--r-- | slstatus.c | 2 |
5 files changed, 22 insertions, 2 deletions
@@ -1,2 +1,3 @@ slstatus slstatus.o +config.h @@ -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 $@ @@ -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! @@ -13,7 +13,7 @@ char *smprintf(char *fmt, ...); -void *setstatus(char *str); +void setstatus(char *str); char *wifi_signal(); char *battery(); |