From e047f5e3e6d58c66b69398e38c8c5c46338a1d6b Mon Sep 17 00:00:00 2001 From: Wang Zhiyu Date: Tue, 28 Jul 2026 01:20:38 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20min-brightness.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- min-brightness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/min-brightness.sh b/min-brightness.sh index a53286c..120147b 100644 --- a/min-brightness.sh +++ b/min-brightness.sh @@ -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