From fbf6fe08cba59ff960fbc2855741da3def979a40 Mon Sep 17 00:00:00 2001 From: Gordon Schulz Date: Sat, 22 Aug 2015 17:33:32 +0200 Subject: [PATCH] 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. --- rofi-pass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rofi-pass b/rofi-pass index 96d9ebb..9ca8454 100755 --- a/rofi-pass +++ b/rofi-pass @@ -141,6 +141,8 @@ ${line2}" 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