diff --git a/AutomaticBrightness.sh b/AutomaticBrightness.sh index a407b2c..a716c8f 100644 --- a/AutomaticBrightness.sh +++ b/AutomaticBrightness.sh @@ -66,7 +66,7 @@ fi priority=19 # Priority level , 0 = regular app , 19 = very much background app # Set the priority of the current script, Thank you Theluga. -renice "$cpu_limit" "$$" +renice "$priority" "$$"