02af858a35
All the info function names started with "get_", which I removed to make it easier for the user to configure the program to its needs. Additionally I renamed some functions (e.g. get_ram_usage) to better names, making it easier to extend the program with ram usage / total functions. |
||
---|---|---|
.gitignore | ||
CONTRIBUTORS.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
TODO.md | ||
config.def.h | ||
config.mk | ||
screenshot.png | ||
slstatus.c | ||
slstatus.h |
README.md
slstatus
A suckless status monitor for DWM written in pure C without any system() calls.
Information included
- wifi percentage
- battery percentage
- cpu usage in percent
- cpu temperature
- ram usage in percent
- alsa volume level in percent
- disk usage
- date
- time
Multiple batteries, wifi cards etc. are supported and everything can be reordered and customized via a C header file (similar to DWM).
Screenshot
Installation
Just run sudo make install
! :P
Configuration
Just change config.h (commented) to your needs and recompile!
Starting
Put the following code in your ~/.xinitrc:
while true; do
slstatus
done &
Contributing
See TODO.md for things that you could do.
People who contributed are listed in the CONTRIBUTORS.md file.
If you want to contribute, please use the suckless coding style! For indentation please use 4 spaces.