Update rofi-pass config file to current git version

This commit is contained in:
Adam Goldsmith 2018-05-12 23:02:25 -04:00
parent 56978e824d
commit d8616c00e8
1 changed files with 34 additions and 8 deletions

View File

@ -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"