diff --git a/.config/rofi-pass/config b/.config/rofi-pass/config index 4585ede..43384da 100644 --- a/.config/rofi-pass/config +++ b/.config/rofi-pass/config @@ -1,13 +1,30 @@ -# permanently set alternative root dir +# permanently set alternative root dir. Use ":" to separate multiple roots +# which can be switched at runtime with shift+left/right # root=/path/to/root # rofi command. Make sure to have "$@" as last argument _rofi () { - rofi -i -run-command 'zsh -c {cmd}' -width 700 -no-levenshtein-sort "$@" + rofi -i -no-auto-select "$@" } -# keyboard layout (set this to your actual layout. E.g. keyboard="de us" -#keyboard=us +# image viewer to display qrcode of selected entry +# qrencode is needed to generate the image and a viewer +# that can read from pipes. Known viewers to work are feh and display +_image_viewer () { + feh - +# display +} + +# xdotool needs the keyboard layout to be set using setxkbmap +# You can do this in your autostart scripts (e.g. xinitrc) + +# If for some reason, you cannot do this, you can set the command here. +# and set fix_layout to true +fix_layout=false + +layout_cmd () { + setxkbmap us +} # fields to be used URL_field='url' @@ -17,6 +34,9 @@ AUTOTYPE_field='autotype' # delay to be used for :delay keyword delay=2 +# rofi-pass needs to close itself before it can type passwords. Set delay here. +wait=0.2 + ## Programs to be used # Editor EDITOR='emacsclient -c -n' @@ -29,6 +49,7 @@ BROWSER='firefox' default_do='menu' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl auto_enter='false' notify='false' +default_autotype='login :tab pass' # color of the help messages # leave empty for autodetection @@ -38,10 +59,15 @@ help_color="#4872FF" # Possible options: primary, clipboard, both clip=primary -# Options for generating new password entries -default_user=john_doe -default_user2=mary_ann -password_length=12 +## Options for generating new password entries + +# open new password entries in editor +edit_new_pass="true" + +# default_user is also used for password files that have no user field. +default_user='' +#default_user2=mary_ann +#password_length=12 # Custom Keybindings autotype="Alt+1"