dev/bash/xwm_test/xwm_test.sh

8 lines
206 B
Bash
Raw Normal View History

#!/bin/bash
export ID_WIN="$(xwininfo | grep "Window id" | cut -d\" -f2)"
echo $ID_WIN
x=1
wmctrl -r "$ID_WIN" -e 1,-1,-1,1,1;
time for i in `seq 1024`;do (( x++ ));wmctrl -r "$ID_WIN" -e 1,0,0,$x,$x;done