[fix] faster rbw script
This commit is contained in:
parent
818e1f87a8
commit
cd8d13c68e
1 changed files with 6 additions and 6 deletions
|
|
@ -40,15 +40,15 @@ echo $option
|
|||
case ${option} in
|
||||
Password )
|
||||
echo "${SECRET}"
|
||||
wtype -s 100 -d 50 $(rbw get "${SECRET}")
|
||||
wtype -s 50 -d 10 $(rbw get "${SECRET}")
|
||||
;;
|
||||
User )
|
||||
wtype -s 100 -d 50 $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
|
||||
wtype -s 50 -d 10 $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
|
||||
;;
|
||||
"User and password" )
|
||||
wtype -s 100 -d 50 $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
|
||||
wtype -s 100 -d 50 -P tab
|
||||
wtype -s 100 -d 50 $(rbw get "${SECRET}")
|
||||
wtype -s 50 -d 10 $(rbw get --full "${SECRET}" | rg Username: | awk '{$1 = ""; print $0}')
|
||||
wtype -s 50 -d 10 -P tab
|
||||
wtype -s 50 -d 10 $(rbw get "${SECRET}")
|
||||
;;
|
||||
"QR-Code" )
|
||||
if [[ $SECRET =~ wifi$ ]]; then
|
||||
|
|
@ -63,7 +63,7 @@ case ${option} in
|
|||
fi
|
||||
;;
|
||||
"OTP" )
|
||||
wtype -s 100 -d 50 $(rbw code "${SECRET}")
|
||||
wtype -s 50 -d 10 $(rbw code "${SECRET}")
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue