summaryrefslogtreecommitdiff
path: root/hypridle.sh
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 /hypridle.sh
parenta48935db40cf2d24129a8db207eaf80c7fc5449a (diff)
added ionice for idle as well
Diffstat (limited to 'hypridle.sh')
-rwxr-xr-xhypridle.sh1
1 files changed, 1 insertions, 0 deletions
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}