fork from http://git.suckless.org/slock , patched to add res_name and res_class for WM to recognize its window class.