#!/bin/sh

if test -n "$(i3utils workspace isLast)" ; then
	if test -z "$(i3utils workspace isEmpty)" ; then
		i3-msg workspace  $(( $(i3utils workspace current) + 1 ))
	fi
else
	i3-msg workspace next
fi
i3utils workspace reflow
