From 2f396c51f72dce92940a56f3b2c4b37f48275edf Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Sun, 31 Jul 2016 11:47:14 +0200 Subject: [PATCH] set default config values --- rofi-pass | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/rofi-pass b/rofi-pass index 5efb295..4c405eb 100755 --- a/rofi-pass +++ b/rofi-pass @@ -4,6 +4,42 @@ # (c) 2015 Rasmus Steinke basecommand=$(echo "$0" | gawk '{ print $1 }') +# set default settings +_rofi () { + rofi -i -width 700 -no-levenshtein-sort "$@" +} + +URL_field='url' +USERNAME_field='user' +AUTOTYPE_field='autotype' +delay=2 +default_do='autopass' # copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl +auto_enter='false' +notify='false' +passlength='20' +count=2 +help_color="" +clip=primary +default_user=john_doe +default_user2=mary_ann +password_length=12 +autotype="Alt+1" +type_user="Alt+2" +type_pass="Alt+3" +open_url="Alt+4" +copy_name="Alt+u" +copy_url="Alt+l" +copy_pass="Alt+p" +show="Alt+o" +copy_entry="Alt+2" +type_entry="Alt+1" +copy_menu="Alt+c" +action_menu="Alt+a" +type_menu="Alt+t" +help="Alt+h" +switch="Alt+x" +insert_pass="Alt+n" + # get all password files and create an array list_passwords() { cd "${root}" || exit