updates for eww and ydotool
This commit is contained in:
parent
f153a71270
commit
25853d63db
19 changed files with 1147 additions and 31 deletions
|
@ -69,16 +69,16 @@ fi
|
|||
case ${option} in
|
||||
Password )
|
||||
echo "${SECRET}"
|
||||
ydotool type --key-delay 6ms $(rbw get "${SECRET}")
|
||||
ydotool type --key-delay 2ms $(rbw get "${SECRET}")
|
||||
;;
|
||||
User )
|
||||
echo "$(rbw get --full "${SECRET}" | rg Username: | awk '{print $2}')"
|
||||
ydotool type --key-delay 6ms "$(rbw get --full "${SECRET}" | rg Username: | awk '{print $2}')"
|
||||
ydotool type --key-delay 2ms "$(rbw get --full "${SECRET}" | rg Username: | awk '{print $2}')"
|
||||
;;
|
||||
"User and password" )
|
||||
ydotool type --key-delay 6ms $(rbw get --full "${SECRET}" | rg Username: | awk '{print $2}')
|
||||
ydotool type --key-delay 2ms $(rbw get --full "${SECRET}" | rg Username: | awk '{print $2}')
|
||||
ydotool key 15:1 15:0
|
||||
ydotool type --key-delay 6ms $(rbw get "${SECRET}")
|
||||
ydotool type --key-delay 2ms $(rbw get "${SECRET}")
|
||||
;;
|
||||
"QR-Code" )
|
||||
if [[ $SECRET =~ wifi$ ]]; then
|
||||
|
@ -93,7 +93,7 @@ case ${option} in
|
|||
fi
|
||||
;;
|
||||
OTP )
|
||||
ydotool type --key-delay 6ms $(rbw code "${SECRET}")
|
||||
ydotool type --key-delay 2ms $(rbw code "${SECRET}")
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue