1 2 3 4
#!/usr/bin/env bash screens=$(wlopm | awk '{print $1}') echo "$screens" | xargs -l wlopm --$1