From 27117202739f092d837af2752e4b9801c47b8ddb Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Fri, 10 Jul 2026 01:17:51 -0400 Subject: Improve CPU usage for simple-bar and disable linux-builder due to issue for now --- hosts/RyanMac/configuration.nix | 2 +- .../simple-bar/simple-bar-source/lib/components/data/battery.jsx | 2 +- .../modules/simple-bar/simple-bar-source/lib/components/data/memory.jsx | 2 +- users/ryan/modules/simple-bar/simplebarrc | 2 +- 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 { nix = { enable = true; linux-builder = { - enable = true; + enable = false; # mkfs.erofs seems to be looping ephemeral = true; }; 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(() => { )} - {percentage}% + {`${percentage}%`} ); }); 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 = () => { Icon={showIcon ? Pie : null} onClick={onClick} > -
{used}%
+
{`${used}%`}
); }; 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 @@ "bottomBar": false, "sideDecoration": false, "inlineSpacesOptions": false, - "disableAnimations": false, + "disableAnimations": true, "spacesBackgroundColorAsForeground": false, "widgetsBackgroundColorAsForeground": false, "widgetMaxWidth": "160px", -- cgit v1.3