summaryrefslogtreecommitdiff
path: root/scripts/.local
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2023-01-24 08:43:28 +0100
committerivan-boikov <ik.boikov.public@protonmail.com>2023-01-24 08:43:28 +0100
commitc70826d3042c0821051cd28d305251153733a91c (patch)
tree6911d2821ee71c6cc0e51848e468e866ae7f68e3 /scripts/.local
parentf4ff2f79d2b7cbc691a1ebecd3919d4cc618da3b (diff)
1
Diffstat (limited to 'scripts/.local')
-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