Bash script for copying and autotyping data from password-store, gopass or prs.

fix: yofi dialog option should be after its flags

This should finally fix https://github.com/ayushnix/tessen/issues/36

+3 -3
+3 -3
tessen
··· 466 466 yofi) 467 467 _DMENU_BACKEND="yofi" 468 468 # yofi needs the 'dialog' option after the '--config-file' argument 469 - _DMENU_BACKEND_OPTS=() 469 + _DMENU_BACKEND_OPTS=('dialog') 470 470 ;; 471 471 wofi) 472 472 _DMENU_BACKEND="wofi" ··· 662 662 elif [[ $key == "wofi_color_file" ]] && [[ -f ${val@P} ]]; then 663 663 _TMP_WOFI_OPTS+=("-C" "${val@P}") 664 664 elif [[ $key == "yofi_config_file" ]] && [[ -f ${val@P} ]]; then 665 - _TMP_YOFI_OPTS+=("--config-file" "${val@P}" "dialog") 665 + _TMP_YOFI_OPTS+=("--config-file" "${val@P}") 666 666 elif [[ $key == "userkey" ]]; then 667 667 _TSN_USERKEY="$val" 668 668 elif [[ $key == "urlkey" ]]; then ··· 792 792 _DMENU_BACKEND_OPTS+=("${_TMP_WOFI_OPTS[@]}") 793 793 readonly _DMENU_BACKEND_OPTS 794 794 elif [[ $_DMENU_BACKEND == "yofi" ]]; then 795 - _DMENU_BACKEND_OPTS+=("${_TMP_YOFI_OPTS[@]}") 795 + _DMENU_BACKEND_OPTS=("${_TMP_YOFI_OPTS[@]}" "$_DMENU_BACKEND_OPTS") 796 796 readonly _DMENU_BACKEND_OPTS 797 797 fi 798 798