diff options
Diffstat (limited to 'private_dot_local/bin')
| -rw-r--r-- | private_dot_local/bin/executable_gopassmenu | 2 | ||||
| -rw-r--r-- | private_dot_local/bin/executable_gousermenu | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/private_dot_local/bin/executable_gopassmenu b/private_dot_local/bin/executable_gopassmenu index 1fa4f5f..f557307 100644 --- a/private_dot_local/bin/executable_gopassmenu +++ b/private_dot_local/bin/executable_gopassmenu @@ -1,6 +1,6 @@ #!/bin/sh -PW="$(gopass ls --flat | wmenu -l 10 -p 'Password: ' -f 'Liberation Mono 12px' | xargs -r gopass show -o)" +PW="$(gopass ls --flat | wmenu -l 10 -p 'Password: ' -f 'Liberation Mono 12px' | xargs -r gopass show | head -n1)" # [t]ype or copy if [ "$1" = "-t" ] ; then wtype "${PW}" diff --git a/private_dot_local/bin/executable_gousermenu b/private_dot_local/bin/executable_gousermenu index 34bbcf9..cffac84 100644 --- a/private_dot_local/bin/executable_gousermenu +++ b/private_dot_local/bin/executable_gousermenu @@ -1,11 +1,11 @@ #!/bin/sh -uname="$(gopass ls --flat | wmenu -l 10 -p 'Username: ' -f 'Liberation Mono 12px')" +uname="$(gopass ls --flat | wmenu -l 10 -p 'Username: ' -f 'Liberation Mono 12px' | xargs -r gopass show | sed -n '2p')" # [t]ype or copy if [ "$1" = "-t" ] ; then - wtype "${uname##*/}" + wtype "${uname}" else - wl-copy "${uname##*/}" + wl-copy "${uname}" ( sleep 30 && wl-copy -c ) & fi #wl-copy "${uname##*/}" |