diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-12 11:28:04 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-12 11:28:04 +0800 |
| commit | 5bc975391c78fc7e41f39d1fca0d36624a6634b6 (patch) | |
| tree | 233e4457dff37c98304847d7d3eb418965f786c9 | |
| parent | ff46714d709131d73cc16e0d7fdba7a6990d9eda (diff) | |
made scripts lower priority for more optimal experience
| -rwxr-xr-x | audio-autoAdjust.sh | 4 | ||||
| -rwxr-xr-x | idle.sh | 2 |
2 files changed, 5 insertions, 1 deletions
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 @@ -1,5 +1,7 @@ #!/usr/bin/bash +renice -n 19 $$ + # arguments with signal trap #trap idle SIGQUIT #trap stopidle SIGILL |
