From 227b8df55f9e3e58e5e6a381d0fd4f52292485c7 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Fri, 5 Aug 2016 05:28:30 +0200 Subject: get rid of unused count variable --- config.example | 4 ---- rofi-pass | 5 ----- 2 files changed, 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") -- cgit