my-scripts/caffeine.sh

9 lines
98 B
Bash
Executable File

#!/bin/sh
while :
do
wtype -d 1000 caffeine
wtype -d 1000 -k return
sleep 60
done