My slstatus configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.4 KiB

8 years ago
8 years ago
8 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. slstatus
  2. ========
  3. **slstatus** is a suckless and lightweight status monitor for window managers which use WM_NAME as statusbar (e.g. DWM). It is written in pure C without any system() calls and only reads from files most of the time. It is meant as a better alternative to Bash scripts (inefficient) and Conky (bloated for this use).
  4. The following information is included:
  5. - wifi percentage
  6. - battery percentage
  7. - cpu usage in percent
  8. - cpu temperature
  9. - ram usage in percent
  10. - alsa volume level in percent
  11. - disk usage
  12. - date
  13. - time
  14. Multiple entries (battery, wifi signal, ...) are supported and everything can be reordered and customized via a C header file (similar to DWM).
  15. ![screenshot](screenshot.png)
  16. ## Usage
  17. ### Installation
  18. Before you continue, please be sure that a C compiler, `make` and `alsa-lib` are installed. Then compile the program once using `sudo make install`. After that you may change config.h to your needs and recompile it after any change!
  19. ### Starting
  20. Put the following code in your ~/.xinitrc (or similar):
  21. ```
  22. while true; do
  23. slstatus
  24. done &
  25. ```
  26. The loop is needed that the program runs after suspend to ram.
  27. ## Contributing
  28. In [TODO.md](TODO.md) there is a list of things that have to be done.
  29. People who contributed are listed in [CONTRIBUTORS.md](CONTRIBUTORS.md).
  30. For detailed information about coding style and restrictions see [CONTRIBUTING.md](CONTRIBUTING.md)
  31. ## License
  32. See [LICENSE](LICENSE).