1 2 3 4 5 6 7 8 9 10
#!/bin/sh declare -i count=2 declare -i seconds=1 while ((count)); do xrandr >/dev/null sleep $seconds ((count--)) done