sxhkd: remove unused functions and re-do a couple