main/dmenu: moved from testing