Commit 2d571689 authored by o9000's avatar o9000

Workspace stress test: minor changes

parent 1d28475a
......@@ -30,8 +30,12 @@ do
(gnome-calculator 1>/dev/null 2>/dev/null &)
fi
# change the current desktop to a random value
desktop=$(shuf -n 1 -e $(seq 0 $max_desktop))
xprop -root -f _NET_CURRENT_DESKTOP 32c -set _NET_CURRENT_DESKTOP $desktop
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment