Workspace stress test: minor changes

This commit is contained in:
o9000 2016-02-26 11:09:12 +01:00
parent 1d28475a0c
commit 2d57168905

View file

@ -30,8 +30,12 @@ do
(gnome-calculator 1>/dev/null 2>/dev/null &)
fi
# change the current desktop to a random value
for change in 1 2 3
do
desktop=$(shuf -n 1 -e $(seq 0 $max_desktop))
xprop -root -f _NET_CURRENT_DESKTOP 32c -set _NET_CURRENT_DESKTOP $desktop
sleep 0.1
done
# move windows around
for win in $(wmctrl -l | awk '!/Terminal/ {if ($4 != "Desktop") print $1}')
do