pss-total/README.md

39 lines
906 B
Markdown
Raw Normal View History

2024-05-24 23:55:09 +00:00
# pss-total-waybar
2024-05-24 21:54:17 +00:00
sum proportional set size of every process for accurate memory usage statistics.
In non-pretty mode, the number is given in kibibytes.
2024-05-24 23:53:16 +00:00
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": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
}
```
2024-05-24 21:56:49 +00:00
Licensed under GPLv3.
2024-05-24 21:54:17 +00:00
### Summary
2024-05-24 23:55:09 +00:00
pss-total-waybar [OPTIONS]
2024-05-24 21:54:17 +00:00
### Options
- `-h`, `--help`: print this help message.
2024-05-24 22:00:08 +00:00
2024-05-24 22:01:20 +00:00
## Building
2024-05-24 22:00:08 +00:00
Build for debug/development: `ninja debug`
2024-05-24 22:01:20 +00:00
2024-05-24 22:00:08 +00:00
Build for production: `ninja release`
Install: `ninja release && sudo sh install.sh`
2024-05-24 22:01:20 +00:00
2024-05-24 22:00:08 +00:00
Uninstall: `sudo sh uninstall.sh`