# min\_width=CPU: 100.00%

**URL:** <https://forum.endeavouros.com/t/min-width-cpu-100-00/21129>\
**Category:** All WMs\
**Created:** [December 11, 2021, 7:01pm UTC](https://forum.endeavouros.com/t/min-width-cpu-100-00/21129 "2021-12-11T19:01:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![malux](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@malux](https://forum.endeavouros.com/u/malux)\
**Post date:** [February 7, 2022, 2:50pm UTC](https://forum.endeavouros.com/t/min-width-cpu-100-00/21129/2 "2022-02-07T14:50:32Z")

</div>

Hi @Leigh,  
I faced the same Issue and resolved it by modifying the underlying script in `~/.config/i3/scripts/cpu_usage`.

I changed the lines 50 and 52 to always print two digits (leading zero) in front of the decimal point like so:

```auto
printf "%02.${decimals}f%%\n", $cpu_usage;

```

hope that helps someone!

---

_[View the full topic](https://forum.endeavouros.com/t/min-width-cpu-100-00/21129)._
