diff options
Diffstat (limited to 'idle.sh')
| -rwxr-xr-x | idle.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ -#!/usr/bin/env bash +#!/usr/bin/bash while true; do if [[ "$(systemctl is-system-running)" == "running" || "$(systemctl is-system-running)" == "degraded" ]]; then if [[ "$(xprintidle)" -gt 600000 ]]; then # Changed from 600000 (10 minutes) to 3600000 (1 hour) - exec $HOME/scripts/auto-update.sh & + $HOME/scripts/auto-update.sh & killall picom; bspcomp & else sleep 60 |
