Use i3-dmenu-desktop instead of dmenu_run.