From 7cad00abc297b02e02340243aae3806ce427081d Mon Sep 17 00:00:00 2001 From: Theluga <96307393+Theluga@users.noreply.github.com> Date: Sun, 17 Dec 2023 05:19:45 +0000 Subject: [PATCH] Add files via upload --- AutomaticBrightness.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AutomaticBrightness.sh b/AutomaticBrightness.sh index c4a8a68..a716c8f 100644 --- a/AutomaticBrightness.sh +++ b/AutomaticBrightness.sh @@ -62,6 +62,13 @@ then fi +# This was moved down here to not affect performance of setting AB.offset +priority=19 # Priority level , 0 = regular app , 19 = very much background app + +# Set the priority of the current script, Thank you Theluga. +renice "$priority" "$$" + + touch '/tmp/AB.running'