#!/bin/bash

positions=($(python window_positions.py))

i=0
wmctrl -lp | grep video_stream | awk '{print $1}' | while read -r line ; do
    wmctrl -ir ${line} -e ${positions[i]}
    i=$((i+1))
done
