fix: support x11 and wl configuration