Fix gcc string truncation warnings
Or if you don't like these let's add -Wno-format-truncation -Wno-stringop-truncation (the later only happens in -O2, but I'm not sure what enables both as I only get them on fedora)
likewise, I have the same for sway, just waiting to see how this is received to push.