summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xaudio-autoAdjust.sh4
-rwxr-xr-xidle.sh2
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
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