2016-03-04 10:46:19 +01:00
|
|
|
# slstatus
|
2016-03-08 18:17:50 +01:00
|
|
|
|
2016-03-04 10:46:19 +01:00
|
|
|
A suckless status monitor for DWM written in pure C without any system() calls.
|
2016-03-04 18:36:47 +01:00
|
|
|
|
2016-03-14 20:25:56 +01:00
|
|
|
# Information included
|
2016-03-04 18:36:47 +01:00
|
|
|
|
|
|
|
- wifi percentage
|
|
|
|
- battery percentage
|
|
|
|
- cpu usage in percent
|
|
|
|
- cpu temperature
|
|
|
|
- ram usage in percent
|
|
|
|
- alsa volume level in percent
|
2016-03-14 20:25:56 +01:00
|
|
|
- disk usage
|
2016-03-04 18:36:47 +01:00
|
|
|
- date
|
|
|
|
- time
|
|
|
|
|
2016-03-14 20:25:56 +01:00
|
|
|
Multiple batteries, wifi cards etc. are supported and everything can be reordered and customized via a C header file (similar to DWM).
|
|
|
|
|
2016-03-08 18:17:50 +01:00
|
|
|
# Screenshot
|
|
|
|
|
2016-03-08 18:18:47 +01:00
|
|
|
![screenshot](screenshot.png)
|
2016-03-08 18:17:50 +01:00
|
|
|
|
|
|
|
# Installation
|
|
|
|
|
2016-03-14 20:25:56 +01:00
|
|
|
Just run ```sudo make install```! :P
|
2016-03-08 18:17:50 +01:00
|
|
|
|
|
|
|
# Configuration
|
2016-03-04 18:36:47 +01:00
|
|
|
|
2016-03-14 20:25:56 +01:00
|
|
|
Just change config.h (commented) to your needs and recompile!
|
2016-03-09 11:26:19 +01:00
|
|
|
|
2016-03-10 07:51:04 +01:00
|
|
|
# Starting
|
|
|
|
|
2016-03-14 20:25:56 +01:00
|
|
|
Put the following code in your ~/.xinitrc:
|
2016-03-10 07:51:04 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
while true; do
|
|
|
|
slstatus
|
|
|
|
done &
|
|
|
|
```
|
|
|
|
|
2016-03-10 15:12:09 +01:00
|
|
|
# Contributing
|
2016-03-09 11:26:19 +01:00
|
|
|
|
2016-03-10 18:01:39 +01:00
|
|
|
See TODO.md for things that you could do.
|
|
|
|
|
2016-03-10 15:12:09 +01:00
|
|
|
People who contributed are listed in the CONTRIBUTORS.md file.
|
|
|
|
|
2016-03-10 18:01:39 +01:00
|
|
|
If you want to contribute, please use [the suckless coding style](http://suckless.org/coding_style)! For indentation please use 4 spaces.
|