This reverts commit a1f6918c52. I just tried swaylock-git with sway-git and it seems to be working.
a1f6918c52