更新 min-brightness.sh

This commit is contained in:
pluv committed 2026-07-28 01:20:38 +00:00
1 parent 380e50e268
commit e047f5e3e6
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
BRIGHTNESS_FILE=/sys/devices/platform/mtk-leds/leds/lcd-backlight/brightness
BRIGHTNESS="$(cat "$BRIGHTNESS_FILE")"
if [ "$BRIGHTNESS" -lt 15 ]; then
if [[ $BRIGHTNESS -lt 2 && $BRIGHTNESS -ne 0 ]]; then
settings put system screen_brightness 2
fi