diff options
author | Rasmus Steinke <rasi@xssn.at> | 2024-02-13 14:06:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 14:06:30 +0100 |
commit | 8aa6b9293a8f0af267425326fa966966ca42085e (patch) | |
tree | 9e95b379a4cbe0d9eda5c239c6f767dd879b7216 | |
parent | a530573d721fc50ba24949c9ee9efbc6e2edb913 (diff) | |
parent | 8f91f6e795e6bb17c9ad23571244fa8a82a5d9b3 (diff) | |
download | rofi-pass-8aa6b9293a8f0af267425326fa966966ca42085e.tar.gz |
Merge pull request #216 from bricewge/master
add type_otp key binding
-rwxr-xr-x | rofi-pass | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,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" @@ -445,6 +446,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}" @@ -546,6 +548,7 @@ mainMenu () { 16) viewEntry;; 17) copyURL;; 18) default_do="menu" typeMenu;; + 21) sleep $wait; typefield=OTP; typeField;; 23) actionMenu;; 24) copyMenu;; 27) insertPass;; @@ -570,6 +573,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 |