TetaTricks/code/move-xlogo.sh

17 lines
208 B
Bash
Raw Normal View History

2020-11-24 10:40:57 +11:00
#!/bin/bash
xlogo &
sleep 1
job=$! ; echo "job = " $job
WIN=$(xdotool search -name 'xlogo')
echo "win = " $WIN
for foo in $(seq 10 33 900)
do
sleep 1
xdotool windowmove $WIN 50 $foo
done
kill $job