#!/usr/bin/env bash
while true; do
if xprintidle | grep -q 3000; then
xdotool mousemove_relative 1 1
fi
done
Currently I'm able to check if xprintidle
is equal to 3000 and then if it is, execute xdotool
. But I want to check if xprintidle
is greater or equal than 3000 and then execute xdotool
. How can I achieve this?