extract pulse_sink script
This commit is contained in:
parent
43a1960e18
commit
690ab81d76
5 changed files with 20 additions and 18 deletions
|
@ -4,7 +4,7 @@ set -xe
|
|||
find_file() {
|
||||
fd --strip-cwd-prefix '\.gpg$' |
|
||||
sd ".gpg$" "" |
|
||||
bmenu -p "Password" $@
|
||||
wdmenu -p "Password" $@
|
||||
}
|
||||
|
||||
main() {
|
||||
|
@ -20,7 +20,7 @@ main() {
|
|||
username=`pass show "$entry" 2>/dev/null | perl -ne 'print $2 if /^(login|user|email): (.*)/'`
|
||||
password=`pass show "$entry" 2>/dev/null | head -n 1`
|
||||
|
||||
action=`printf "Autotype\nUsername -> $username\nPassword" | bmenu -p Action`
|
||||
action=`printf "Autotype\nUsername -> $username\nPassword" | wdmenu -p Action`
|
||||
|
||||
case $action in
|
||||
Autotype)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue