get rid of duplicate setting
This commit is contained in:
parent
66b3f6cd38
commit
f19298305a
@ -29,7 +29,6 @@ BROWSER='chromium'
|
|||||||
default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
|
default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
|
||||||
auto_enter='false'
|
auto_enter='false'
|
||||||
notify='false'
|
notify='false'
|
||||||
passlength='20'
|
|
||||||
|
|
||||||
# seconds to wait before re-opening showEntry-menu
|
# seconds to wait before re-opening showEntry-menu
|
||||||
# after autotyping an entry. Set to "off" to disable
|
# after autotyping an entry. Set to "off" to disable
|
||||||
|
@ -16,7 +16,7 @@ delay=2
|
|||||||
default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
|
default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
|
||||||
auto_enter='false'
|
auto_enter='false'
|
||||||
notify='false'
|
notify='false'
|
||||||
passlength='20'
|
password_length='20'
|
||||||
count=2
|
count=2
|
||||||
help_color=""
|
help_color=""
|
||||||
clip=primary
|
clip=primary
|
||||||
@ -198,10 +198,10 @@ generatePass () {
|
|||||||
symbols="-n";
|
symbols="-n";
|
||||||
fi
|
fi
|
||||||
HELP="<span color='$help_color'>Enter Number or hit Enter to use default length</span>"
|
HELP="<span color='$help_color'>Enter Number or hit Enter to use default length</span>"
|
||||||
length=$(echo -e "" | _rofi -dmenu -mesg "${HELP}" -p "Password length? (Default: ${passlength}) > ")
|
length=$(echo -e "" | _rofi -dmenu -mesg "${HELP}" -p "Password length? (Default: ${password_length}) > ")
|
||||||
askGen
|
askGen
|
||||||
if [[ $length == "" ]]; then
|
if [[ $length == "" ]]; then
|
||||||
pass generate ${symbols} -i "$selected_password" "${passlength}" > /dev/null;
|
pass generate ${symbols} -i "$selected_password" "${password_length}" > /dev/null;
|
||||||
else
|
else
|
||||||
pass generate ${symbols} -i "$selected_password" "${length}" > /dev/null;
|
pass generate ${symbols} -i "$selected_password" "${length}" > /dev/null;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user