get rid of delay
This commit is contained in:
parent
752be60645
commit
3b1b48b93d
14
rofi-pass
14
rofi-pass
@ -84,10 +84,10 @@ ${open_url}: Open URL | ${copy_name}: Copy Username | ${copy_pass}: Copy Passwor
|
||||
stuff["pass"]=${password}
|
||||
|
||||
if [[ $rofi_exit -eq 11 ]]; then
|
||||
echo -n "${stuff[${USERNAME_field}]}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
echo -n "${stuff[${USERNAME_field}]}" | xdotool type --clearmodifiers --file -
|
||||
exit
|
||||
elif [[ $rofi_exit -eq 12 ]]; then
|
||||
echo -n "${password}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
echo -n "${password}" | xdotool type --clearmodifiers --file -
|
||||
exit
|
||||
elif [[ $rofi_exit -eq 14 ]]; then
|
||||
echo -n "${stuff[${USERNAME_field}]}" | xclip
|
||||
@ -112,10 +112,10 @@ ${open_url}: Open URL | ${copy_name}: Copy Username | ${copy_pass}: Copy Passwor
|
||||
fi
|
||||
|
||||
if [[ -z "${stuff["$AUTOTYPE_field"]}" ]]; then
|
||||
echo -n "${stuff[${USERNAME_field}]}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
echo -n "${stuff[${USERNAME_field}]}" | xdotool type --clearmodifiers --file -
|
||||
|
||||
xdotool key Tab
|
||||
echo -n "${password}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
echo -n "${password}" | xdotool type --clearmodifiers --file -
|
||||
#xdotool_type "$password"
|
||||
sleep 1
|
||||
if [[ ${auto_enter} == "true" ]]; then
|
||||
@ -126,9 +126,9 @@ ${open_url}: Open URL | ${copy_name}: Copy Username | ${copy_pass}: Copy Passwor
|
||||
if [[ $word == ":tab" ]]; then
|
||||
xdotool key Tab
|
||||
elif [[ $word == "pass" ]]; then
|
||||
echo -n "${password}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
echo -n "${password}" | xdotool type --clearmodifiers --file -
|
||||
else
|
||||
echo -n "${stuff[${word}]}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
echo -n "${stuff[${word}]}" | xdotool type --clearmodifiers --file -
|
||||
|
||||
fi
|
||||
#xdotool key Tab
|
||||
@ -198,7 +198,7 @@ showEntry () {
|
||||
if [[ -z $(echo -n "${stuff[${word}]}") ]]; then
|
||||
xdotool type ${word}
|
||||
else
|
||||
echo -n "${stuff[${word}]}" | xdotool type --clearmodifiers --delay 100 --file -
|
||||
echo -n "${stuff[${word}]}" | xdotool type --delay 100 --clearmodifiers --file -
|
||||
xdotool key ctrl+alt
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user