From 8f91f6e795e6bb17c9ad23571244fa8a82a5d9b3 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Sun, 21 Nov 2021 11:27:32 +0100 Subject: add type_otp key binding --- rofi-pass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rofi-pass b/rofi-pass index 7a3011e..7949bf1 100755 --- a/rofi-pass +++ b/rofi-pass @@ -63,6 +63,7 @@ autotype="Alt+1" type_user="Alt+2" type_pass="Alt+3" open_url="Alt+4" +type_otp="Alt+5" copy_name="Alt+u" copy_url="Alt+l" copy_pass="Alt+p" @@ -373,6 +374,7 @@ mainMenu () { -kb-custom-9 "${type_menu}" -kb-custom-10 "${previous_root}" -kb-custom-11 "${next_root}" + -kb-custom-12 "${type_otp}" -kb-custom-14 "${action_menu}" -kb-custom-15 "${copy_menu}" -kb-custom-16 "${help}" @@ -474,6 +476,7 @@ mainMenu () { 16) viewEntry;; 17) copyURL;; 18) default_do="menu" typeMenu;; + 21) sleep $wait; typefield=OTP; typeField;; 23) actionMenu;; 24) copyMenu;; 27) insertPass;; @@ -498,6 +501,7 @@ helpMenu () { ${autotype}: Autotype ${type_user}: Type Username ${type_pass}: Type Password + ${type_otp}: Type OTP ${qrcode}: Generate and display qrcode --- ${copy_name}: Copy Username -- cgit