From 450f6efd081947120f6f2b603a786497f8edbd5b Mon Sep 17 00:00:00 2001 From: Moviuro Date: Wed, 29 Nov 2017 20:04:26 +0100 Subject: rofi-pass: add the ":otp" keyword to autopass() --- rofi-pass | 1 + 1 file changed, 1 insertion(+) diff --git a/rofi-pass b/rofi-pass index db6aded..56d59c7 100755 --- a/rofi-pass +++ b/rofi-pass @@ -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 -- cgit