aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-08-05 05:28:30 +0200
committerRasmus Steinke <rasi@xssn.at>2016-08-05 05:28:30 +0200
commit227b8df55f9e3e58e5e6a381d0fd4f52292485c7 (patch)
tree3a90c98afa08974b535cda41071d97ef7f2da636
parentf19298305a4b12d1c6c82c3c9add3dd778786902 (diff)
downloadrofi-pass-227b8df55f9e3e58e5e6a381d0fd4f52292485c7.tar.gz
get rid of unused count variable
-rw-r--r--config.example4
-rwxr-xr-xrofi-pass5
2 files changed, 0 insertions, 9 deletions
diff --git a/config.example b/config.example
index a865313..ddf8777 100644
--- a/config.example
+++ b/config.example
@@ -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=""
diff --git a/rofi-pass b/rofi-pass
index 4a53cc8..e8432ea 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -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")