Workspace stress test: minor changes
This commit is contained in:
parent
1d28475a0c
commit
2d57168905
1 changed files with 6 additions and 2 deletions
|
@ -30,8 +30,12 @@ do
|
||||||
(gnome-calculator 1>/dev/null 2>/dev/null &)
|
(gnome-calculator 1>/dev/null 2>/dev/null &)
|
||||||
fi
|
fi
|
||||||
# change the current desktop to a random value
|
# change the current desktop to a random value
|
||||||
desktop=$(shuf -n 1 -e $(seq 0 $max_desktop))
|
for change in 1 2 3
|
||||||
xprop -root -f _NET_CURRENT_DESKTOP 32c -set _NET_CURRENT_DESKTOP $desktop
|
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
|
# move windows around
|
||||||
for win in $(wmctrl -l | awk '!/Terminal/ {if ($4 != "Desktop") print $1}')
|
for win in $(wmctrl -l | awk '!/Terminal/ {if ($4 != "Desktop") print $1}')
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue