This fixes #2 and closes renlinx007/i3wm#2