diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-10 01:17:51 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-10 01:17:51 -0400 |
| commit | 27117202739f092d837af2752e4b9801c47b8ddb (patch) | |
| tree | 37a9698cddaa9963a2b86f5dbc9da2d43c533537 /users/ryan/modules/simple-bar/simple-bar-source/lib | |
| parent | 36e5025868cfd674ef4f8a0ae0529371d6581572 (diff) | |
Improve CPU usage for simple-bar and disable linux-builder due to issue for now
Diffstat (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib')
| -rwxr-xr-x | users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/battery.jsx | 2 | ||||
| -rwxr-xr-x | users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/memory.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/battery.jsx b/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/battery.jsx index bfef8f0..a2abffd 100755 --- a/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/battery.jsx +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/battery.jsx | |||
| @@ -144,7 +144,7 @@ export const Widget = React.memo(() => { | |||
| 144 | <Icons.Coffee className="battery__caffeinate-icon" /> | 144 | <Icons.Coffee className="battery__caffeinate-icon" /> |
| 145 | </SuspenseIcon> | 145 | </SuspenseIcon> |
| 146 | )} | 146 | )} |
| 147 | {percentage}% | 147 | {`${percentage}%`} |
| 148 | </DataWidget.Widget> | 148 | </DataWidget.Widget> |
| 149 | ); | 149 | ); |
| 150 | }); | 150 | }); |
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/memory.jsx b/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/memory.jsx index e4361db..f5dce96 100755 --- a/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/memory.jsx +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/components/data/memory.jsx | |||
| @@ -113,7 +113,7 @@ export const Widget = () => { | |||
| 113 | Icon={showIcon ? Pie : null} | 113 | Icon={showIcon ? Pie : null} |
| 114 | onClick={onClick} | 114 | onClick={onClick} |
| 115 | > | 115 | > |
| 116 | <div className="memory__content">{used}%</div> | 116 | <div className="memory__content">{`${used}%`}</div> |
| 117 | </DataWidget.Widget> | 117 | </DataWidget.Widget> |
| 118 | ); | 118 | ); |
| 119 | }; | 119 | }; |
