Make i3-intergration compatible with i3 4.8

Type field is now a string