[cpu] add version requirement

This commit is contained in:
streetturtle 2021-06-14 22:21:58 -04:00 committed by GitHub
parent 2a02853947
commit 625f6690e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ This widget shows the average CPU load among all cores of the machine:
![screenshot](./cpu.gif)
Note: this widget is compatible with Awesome v4.3+, as it is using [awful.popup](https://awesomewm.org/doc/api/classes/awful.popup.html)
## How it works
To measure the load I took Paul Colby's bash [script](http://colby.id.au/calculating-cpu-usage-from-proc-stat/) and rewrote it in Lua, which was quite simple.