mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-25 05:30:22 +00:00
dd66ae774c
* refactor: simplify some config -> constraints code * iteratively progress... * update bcr; this might need testing since I removed some old proc code * widget side * fix battery * fix widget tests with bandaid for now The issue was that the calculations assume a certain ratio for CPU legends. * add some tests * bump up * fix proc drawing issues So with the proc widget in certain places, there would be a panic during constraint determination. Looks like back when I wrote this I made some gross assumptions about certain things. In particular, the problem here was that the search added an additional "one" height, so that needs to be accounted for after we removed the "doubling" code. * tests * fix tests * reorganize tests * clippy * fix cross tests not working * fix builds for android
29 lines
377 B
TOML
29 lines
377 B
TOML
[[row]]
|
|
[[row.child]]
|
|
type = "cpu"
|
|
[[row.child]]
|
|
type = "cpu"
|
|
[[row.child]]
|
|
type = "cpu"
|
|
|
|
[[row]]
|
|
[[row.child]]
|
|
[[row.child.child]]
|
|
type = "cpu"
|
|
[[row.child.child]]
|
|
type = "cpu"
|
|
[[row.child]]
|
|
type = "empty"
|
|
[[row.child]]
|
|
[[row.child.child]]
|
|
type = "cpu"
|
|
[[row.child.child]]
|
|
type = "cpu"
|
|
|
|
[[row]]
|
|
[[row.child]]
|
|
type = "cpu"
|
|
[[row.child]]
|
|
type = "cpu"
|
|
[[row.child]]
|
|
type = "cpu"
|