user/eww: fix wrong battery config name

This commit is contained in:
LavaDesu 2025-03-23 12:41:48 +11:00
parent cca1730f3f
commit d9269fbb93
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -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}"