summaryrefslogtreecommitdiff
path: root/idle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'idle.sh')
-rwxr-xr-xidle.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/idle.sh b/idle.sh
index d7fe253..b299ec1 100755
--- a/idle.sh
+++ b/idle.sh
@@ -7,11 +7,16 @@ while true; do
if [ ! -f /var/lock/idle.lock ]; then
sudo touch /var/lock/idle.lock
$HOME/scripts/update.sh &
+ NekoMC --pause &
killall picom; bspcomp &
sleep 350
killall update.sh
+ freezeapp &
+ continue
elif [[ "$(xprintidle)" -le 100 ]]; then
sudo rm -f /var/lock/idle.lock
+ unfreezeapp &
+ NekoMC --play &
continue
else
sleep 5