m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-02-06 19:46:56 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-06 19:46:56 +0100
commit930f01cd830815730f3f041d5e5788fccdd6d4cb (patch)
tree34ef412c2037b1914a0aeff959c6c1704db9ded8
parent5068115639f500bb36ae3f7e72c9a774623d080c (diff)
passmenu: group commands
-rwxr-xr-xcontrib/dmenu/passmenu2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu
index a665c41..21cfa2b 100755
--- a/contrib/dmenu/passmenu
+++ b/contrib/dmenu/passmenu
@@ -20,6 +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" | read pass; printf %s "$pass" |
+ pass show "$password" | { read pass; printf %s "$pass"; } |
xdotool type --clearmodifiers --file -
fi