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 | |
| parent | 36e5025868cfd674ef4f8a0ae0529371d6581572 (diff) | |
Improve CPU usage for simple-bar and disable linux-builder due to issue for now
4 files changed, 4 insertions, 4 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix index 19ffeec..f72c6aa 100644 --- a/hosts/RyanMac/configuration.nix +++ b/hosts/RyanMac/configuration.nix | |||
| @@ -127,7 +127,7 @@ in { | |||
| 127 | nix = { | 127 | nix = { |
| 128 | enable = true; | 128 | enable = true; |
| 129 | linux-builder = { | 129 | linux-builder = { |
| 130 | enable = true; | 130 | enable = false; # mkfs.erofs seems to be looping |
| 131 | ephemeral = true; | 131 | ephemeral = true; |
| 132 | }; | 132 | }; |
| 133 | settings = { | 133 | settings = { |
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 | }; |
diff --git a/users/ryan/modules/simple-bar/simplebarrc b/users/ryan/modules/simple-bar/simplebarrc index 1494208..7e77252 100644 --- a/users/ryan/modules/simple-bar/simplebarrc +++ b/users/ryan/modules/simple-bar/simplebarrc | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | "bottomBar": false, | 9 | "bottomBar": false, |
| 10 | "sideDecoration": false, | 10 | "sideDecoration": false, |
| 11 | "inlineSpacesOptions": false, | 11 | "inlineSpacesOptions": false, |
| 12 | "disableAnimations": false, | 12 | "disableAnimations": true, |
| 13 | "spacesBackgroundColorAsForeground": false, | 13 | "spacesBackgroundColorAsForeground": false, |
| 14 | "widgetsBackgroundColorAsForeground": false, | 14 | "widgetsBackgroundColorAsForeground": false, |
| 15 | "widgetMaxWidth": "160px", | 15 | "widgetMaxWidth": "160px", |
