diff options
author | Denis Kasak <dkasak@termina.org.uk> | 2017-07-14 18:32:58 +0200 |
---|---|---|
committer | Denis Kasak <dkasak@termina.org.uk> | 2017-07-14 22:56:11 +0200 |
commit | b9b8a57cf02f4373ad9e1107b1bbd14409db1900 (patch) | |
tree | 608e54e1f61a4141051d9156116e24ceb0f76966 | |
parent | babdf6b112b6ed5548bf1d96f24061cd9022995d (diff) | |
download | rofi-pass-b9b8a57cf02f4373ad9e1107b1bbd14409db1900.tar.gz |
Remove extra $(..) to avoid executing output of shell command.
-rwxr-xr-x | rofi-pass | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -249,7 +249,7 @@ mainMenu () { if [[ $rofi_exit -eq 1 ]]; then exit elif [[ $rofi_exit -eq 10 ]]; then - $(${basecommand}) + ${basecommand} elif [[ $rofi_exit -eq 0 ]]; then openURL fi @@ -341,7 +341,7 @@ Run ${default_do} with <span color='$help_color'>Enter</span>. For more help hit elif [[ "${rofi_exit}" -eq 23 ]]; then actionMenu; elif [[ "${rofi_exit}" -eq 25 ]]; then unset selected_password; helpMenu; elif [[ "${rofi_exit}" -eq 24 ]]; then copyMenu; - elif [[ "${rofi_exit}" -eq 26 ]]; then $(${basecommand} --bmarks); + elif [[ "${rofi_exit}" -eq 26 ]]; then ${basecommand} --bmarks; elif [[ "${rofi_exit}" -eq 27 ]]; then insertPass; fi clearUp @@ -401,7 +401,7 @@ typeMenu () { elif [[ $default_do == "${AUTOTYPE_field}" ]]; then autopass else - $(${default_do}) + ${default_do} fi fi } @@ -483,10 +483,10 @@ showEntry () { fi if [[ $notify == "true" ]] then - $(sleep 45; echo -n "" | xclip; echo "" | xclip -selection clipboard | notify-send "rofi-pass" "Clipboard cleared") & + (sleep 45; echo -n "" | xclip; echo "" | xclip -selection clipboard | notify-send "rofi-pass" "Clipboard cleared") & elif [[ $notify == "false" ]] then - $(sleep 45; echo -n "" | xclip; echo "" | xclip -selection clipboard) & + (sleep 45; echo -n "" | xclip; echo "" | xclip -selection clipboard) & fi exit fi |