aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/dmenu/passmenu3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu
index 9b5239d..c89d9b9 100755
--- a/contrib/dmenu/passmenu
+++ b/contrib/dmenu/passmenu
@@ -20,7 +20,6 @@ password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@")
if [[ $typeit -eq 0 ]]; then
pass show -c "$password" 2>/dev/null
else
- pass show "$password" |
- awk 'BEGIN{ORS=""} {print; exit}' |
+ pass show "$password" | head -n 1 | tr -d '\n\r' |
xdotool type --clearmodifiers --file -
fi