aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.example1
-rwxr-xr-xrofi-pass4
2 files changed, 5 insertions, 0 deletions
diff --git a/config.example b/config.example
index b425fca..8a59d18 100644
--- a/config.example
+++ b/config.example
@@ -37,6 +37,7 @@ BROWSER='chromium'
default_do='menu' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
auto_enter='false'
notify='false'
+default_autotype='user :tab pass'
# color of the help messages
# leave empty for autodetection
diff --git a/rofi-pass b/rofi-pass
index 5e9efbe..17d0be5 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -73,6 +73,10 @@ checkIfPass () {
autopass () {
+ if [[ -n $default_autotype ]]
+ then
+ stuff["autotype"]="${default_autotype}"
+ fi
x_repeat_enabled=$(xset q | awk '/auto repeat:/ {print $3}')
xset r off