dmenu_*: update lock images
lib: adds new functions