From d9269fbb935d019cffca940e6eecd453d3c757ab Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Sun, 23 Mar 2025 12:41:48 +1100 Subject: [PATCH] user/eww: fix wrong battery config name --- modules/user/eww.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/user/eww.nix b/modules/user/eww.nix index 7cd123f..5a61891 100644 --- a/modules/user/eww.nix +++ b/modules/user/eww.nix @@ -8,8 +8,8 @@ let cp -r ${../../res/eww} $out substituteInPlace $out/eww.yuck \ - --replace-fail "_BAT_ENABLED_" "${config.me.batteryPath != null}" \ - --replace-fail "_BAT_PATH_" "${config.me.batteryPATH}" \ + --replace-fail "_BAT_ENABLED_" "${config.me.batteryDevice != null}" \ + --replace-fail "_BAT_PATH_" "${config.me.batteryDevice}" \ --replace-fail "_BT_ENABLED_" "${config.me.hasBluetooth}" \ --replace-fail "_WIFI_ENABLED_" "${config.me.hasWifi}"