added waybar usage info
This commit is contained in:
parent
8b4721dcf5
commit
1b7ded5f8a
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -2,6 +2,21 @@
|
||||||
sum proportional set size of every process for accurate memory usage statistics.
|
sum proportional set size of every process for accurate memory usage statistics.
|
||||||
In non-pretty mode, the number is given in kibibytes.
|
In non-pretty mode, the number is given in kibibytes.
|
||||||
|
|
||||||
|
This version is for use with [waybar](https://github.com/Alexays/Waybar). It
|
||||||
|
outputs JSON that waybar can interpret using a
|
||||||
|
[custom module](https://github.com/Alexays/Waybar/wiki/Module:-Custom).
|
||||||
|
|
||||||
|
Here is an example configuration:
|
||||||
|
```json
|
||||||
|
"custom/pss-memory": {
|
||||||
|
"exec": "pss-total-waybar",
|
||||||
|
"return-type": "json",
|
||||||
|
"restart-interval": 3,
|
||||||
|
"format": "{} {icon}",
|
||||||
|
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Licensed under GPLv3.
|
Licensed under GPLv3.
|
||||||
|
|
||||||
### Summary
|
### Summary
|
||||||
|
|
Loading…
Reference in a new issue