Implement Space autotype identifier

Allow :space identifier in autotype sequences. I find that useful to
auto-check/auto-uncheck those 'Keep me logged in' checkboxes.

Same as :tab, just send a 'xdotool key space' sequence.
This commit is contained in:
Gordon Schulz 2015-08-22 17:33:32 +02:00
parent 2fc6c17731
commit fbf6fe08cb

View File

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