From 5bc975391c78fc7e41f39d1fca0d36624a6634b6 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 12 Jul 2024 11:28:04 +0800 Subject: made scripts lower priority for more optimal experience --- audio-autoAdjust.sh | 4 +++- idle.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/audio-autoAdjust.sh b/audio-autoAdjust.sh index 31a4b4c..370ab0e 100755 --- a/audio-autoAdjust.sh +++ b/audio-autoAdjust.sh @@ -1,5 +1,7 @@ #!/usr/bin/bash +renice -n 19 $$ + # sys-def vars # DO NOT TOUCH VOL=0 @@ -45,7 +47,7 @@ if [ "$1" ]; then else sleep 5 fi - sleep 3 + sleep 1 fi done exit 0 diff --git a/idle.sh b/idle.sh index 297e5ab..2de0162 100755 --- a/idle.sh +++ b/idle.sh @@ -1,5 +1,7 @@ #!/usr/bin/bash +renice -n 19 $$ + # arguments with signal trap #trap idle SIGQUIT #trap stopidle SIGILL -- cgit v1.2.3