adapted brightness increment value for x13

This commit is contained in:
2025-07-11 05:54:35 +02:00
parent e535ff373e
commit 9c166ecf90

View File

@@ -11,8 +11,8 @@ if test $action = up
echo (math $current_value + $dvalue) > $backlight_device echo (math $current_value + $dvalue) > $backlight_device
else if test $action = down else if test $action = down
set newVal (math $current_value - $dvalue) set newVal (math $current_value - $dvalue)
if test $newVal -lt 100 if test $newVal -lt 2424
set newVal 100 set newVal 2424
end end
echo New brightness value: $newVal echo New brightness value: $newVal
echo $newVal > $backlight_device echo $newVal > $backlight_device