summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-09-25 17:47:40 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-09-25 17:47:40 +0800
commitf0c50b122373ca7dadf2334127b29f34b6e848e3 (patch)
tree44213c4960b932f992e0ee3fb7b4b5a476efa97c
parenta48935db40cf2d24129a8db207eaf80c7fc5449a (diff)
added ionice for idle as well
-rwxr-xr-xaudio-autoAdjust.sh1
-rwxr-xr-xhypridle.sh1
-rwxr-xr-xidle.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/audio-autoAdjust.sh b/audio-autoAdjust.sh
index ff20080..7ce91fb 100755
--- a/audio-autoAdjust.sh
+++ b/audio-autoAdjust.sh
@@ -1,6 +1,7 @@
#!/usr/bin/bash
renice -n 19 $$
+ionice -c 3 -p $$
# sys-def vars
# DO NOT TOUCH
diff --git a/hypridle.sh b/hypridle.sh
index 80aea03..0681d0e 100755
--- a/hypridle.sh
+++ b/hypridle.sh
@@ -1,6 +1,7 @@
#!/usr/bin/bash
renice -n 19 $$
+ionice -c 3 -p $$
XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}
diff --git a/idle.sh b/idle.sh
index 1d6dca1..915b0a0 100755
--- a/idle.sh
+++ b/idle.sh
@@ -1,6 +1,7 @@
#!/usr/bin/bash
renice -n 19 $$
+ionice -c 3 -p $$
# arguments with signal trap
#trap idle SIGQUIT