add history to dmenu_open