summaryrefslogtreecommitdiff
path: root/scripts/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin')
-rwxr-xr-xscripts/.local/bin/dpass6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/.local/bin/dpass b/scripts/.local/bin/dpass
index adfb0e4..53e9129 100755
--- a/scripts/.local/bin/dpass
+++ b/scripts/.local/bin/dpass
@@ -66,13 +66,13 @@ case $action in
notify-send -u critical "No login for \"$password_file\" was found"
exit 1
fi
- echo "$login" | "${output_method[@]}"
+ echo "$login" | $output_method
if [[ -n $action_descr ]]; then
notify-send "Login for \"$password_file\" was $action_descr"
fi
;;
password)
- pass show "$password_file" | head -n 1 | "${output_method[@]}"
+ pass show "$password_file" | head -n 1 | $output_method
#pass show -c "$password" 2>/dev/null
if [[ -n $action_descr ]]; then
notify-send "Password for \"$password_file\" was $action_descr"
@@ -93,7 +93,7 @@ case $action in
if [[ $do_trim == "Yes" ]]; then
data=$(echo "$data" | cut -f 2- -d ' ')
fi
- echo "$data" | "${output_method[@]}"
+ echo "$data" | $output_method
if [[ -n $action_descr ]]; then
notify-send "Data for $password_file was $action_descr"
fi