Skip to content

Commit

Permalink
get rid of unused count variable
Browse files Browse the repository at this point in the history
  • Loading branch information
carnager committed Aug 5, 2016
1 parent f192983 commit 227b8df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions config.example
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down
5 changes: 0 additions & 5 deletions rofi-pass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 227b8df

Please sign in to comment.