comparison bin/xmoveall.sh @ 307:655a40db0977

ah, the magic switch
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 16 May 2013 11:25:10 -0700
parents 1166c65328f7
children
comparison
equal deleted inserted replaced
306:1166c65328f7 307:655a40db0977
30 wmctrl -l | awk '{if ($2 == "'${DESKTOP}'") {print $1}}' | while read line 30 wmctrl -l | awk '{if ($2 == "'${DESKTOP}'") {print $1}}' | while read line
31 do 31 do
32 # -t <DESK> 32 # -t <DESK>
33 # Move a window that has been specified with the -r action to the 33 # Move a window that has been specified with the -r action to the
34 # desktop <DESK>. 34 # desktop <DESK>.
35 echo "wmctrl -r ${line} -t ${LAST}" 35 wmctrl -i -r ${line} -t ${LAST}
36 done 36 done
37 37