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