diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-07-02 19:53:06 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-07-02 19:53:06 +0900 |
| commit | bc761a2489cec861ef91f01f737340404ec0cd2d (patch) | |
| tree | b9710857cf94cfd90fff7d6c766731c4f8a3cd82 /config/hypr/scripts | |
| parent | b2cd847f4115271a2441fb0c1a1df60cac36027c (diff) | |
set minimum brightness of 5%
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/Brightness.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index c42837f2..d1f80932 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -45,8 +45,8 @@ change_backlight() { fi # Ensure new brightness is within valid range - if (( new_brightness < 0 )); then - new_brightness=0 + if (( new_brightness < 5 )); then + new_brightness=5 elif (( new_brightness > 100 )); then new_brightness=100 fi |
