get rid of unused count variable
This commit is contained in:
parent
f19298305a
commit
227b8df55f
@ -30,10 +30,6 @@ default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewE
|
||||
auto_enter='false'
|
||||
notify='false'
|
||||
|
||||
# seconds to wait before re-opening showEntry-menu
|
||||
# after autotyping an entry. Set to "off" to disable
|
||||
count=2
|
||||
|
||||
# color of the help messages
|
||||
# leave empty for autodetection
|
||||
help_color=""
|
||||
|
@ -17,7 +17,6 @@ default_do='menu' # menu, copyPass, typeUser, typePass, copyUser, copyUrl, viewE
|
||||
auto_enter='false'
|
||||
notify='false'
|
||||
password_length='20'
|
||||
count=2
|
||||
help_color=""
|
||||
clip=primary
|
||||
default_user=john_doe
|
||||
@ -544,10 +543,6 @@ if [[ -z $BROWSER ]]; then
|
||||
export BROWSER=xdg-open
|
||||
fi
|
||||
|
||||
if [[ -z ${count} ]]; then
|
||||
count=2
|
||||
fi
|
||||
|
||||
# check if alternative root directory was given on commandline
|
||||
if [[ -r "$HOME/.cache/rofi-pass/last_used" ]] && [[ $1 == "--last-used" || $1 == "--show-last" ]]; then
|
||||
export root; root=$(awk -F ': ' '{ print $1 }' "$HOME/.cache/rofi-pass/last_used")
|
||||
|
Loading…
Reference in New Issue
Block a user