Merge pull request #12 from azmd/devel

Implement Space autotype identifier
This commit is contained in:
Rasmus Steinke 2015-08-22 18:59:44 +02:00
commit 7d221c44da

View File

@ -141,6 +141,8 @@ ${line2}</span>"
for word in ${stuff["$AUTOTYPE_field"]}; do for word in ${stuff["$AUTOTYPE_field"]}; do
if [[ $word == ":tab" ]]; then if [[ $word == ":tab" ]]; then
xdotool key Tab xdotool key Tab
elif [[ $word == ":space" ]]; then
xdotool key space
elif [[ $word == "pass" ]]; then elif [[ $word == "pass" ]]; then
echo -n "${password}" | xdotool type --clearmodifiers --file - echo -n "${password}" | xdotool type --clearmodifiers --file -
else else