added waybar usage info

This commit is contained in:
Noah Swerhun 2024-05-24 18:53:16 -05:00
parent 8b4721dcf5
commit 1b7ded5f8a

View file

@ -2,6 +2,21 @@
sum proportional set size of every process for accurate memory usage statistics.
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.
### Summary