From f0c50b122373ca7dadf2334127b29f34b6e848e3 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 25 Sep 2024 17:47:40 +0800 Subject: added ionice for idle as well --- audio-autoAdjust.sh | 1 + hypridle.sh | 1 + idle.sh | 1 + 3 files changed, 3 insertions(+) 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 -- cgit v1.2.3