diff options
author | Gordon Schulz <gordon.schulz@gmail.com> | 2015-08-22 17:33:32 +0200 |
---|---|---|
committer | Gordon Schulz <gordon.schulz@gmail.com> | 2015-08-22 17:37:39 +0200 |
commit | fbf6fe08cba59ff960fbc2855741da3def979a40 (patch) | |
tree | f9ea8756d248030b9d7ae520d3c9327a13377ed6 | |
parent | 2fc6c177314f3a14a32e1f62b3e1ed019505fa27 (diff) | |
download | rofi-pass-fbf6fe08cba59ff960fbc2855741da3def979a40.tar.gz |
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.
-rwxr-xr-x | rofi-pass | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |