diff options
author | Moviuro <moviuro+git@gmail.com> | 2017-11-29 20:04:26 +0100 |
---|---|---|
committer | Moviuro <moviuro+git@gmail.com> | 2017-11-29 20:04:26 +0100 |
commit | 450f6efd081947120f6f2b603a786497f8edbd5b (patch) | |
tree | 191f29a19e67033663e3ba9ecf026d841273c444 | |
parent | 82215fe119597a159d0141c8143aabcd1613243a (diff) | |
download | rofi-pass-450f6efd081947120f6f2b603a786497f8edbd5b.tar.gz |
rofi-pass: add the ":otp" keyword to autopass()
-rwxr-xr-x | rofi-pass | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -82,6 +82,7 @@ autopass () { ":space") xdotool key space;; ":delay") sleep "${delay}";; ":enter") xdotool key Return;; + ":otp") printf '%s' "$(PASSWORD_STORE_DIR="${root}" pass otp ${selected_password})" | xdotool type --clearmodifiers --file -;; "pass") printf '%s' "${password}" | xdotool type --clearmodifiers --file -;; *) printf '%s' "${stuff[${word}]}" | xdotool type --clearmodifiers --file -;; esac |