This commit is contained in:
Rasmus Steinke 2016-01-26 04:41:36 +01:00
commit 7c00f3c077
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ BROWSER='chromium'
## Misc settings
default_do='autopass' # copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
help_color='#0C73C2'
auto_enter='false'
notify='false'

View File

@ -207,7 +207,7 @@ ${line3}</span>"
fi
# actions based on keypresses
if [[ "${rofi_exit}" -eq 0 ]]; then autopass;
if [[ "${rofi_exit}" -eq 0 ]]; then ${default_do};
elif [[ "${rofi_exit}" -eq 13 ]]; then openURL;
elif [[ "${rofi_exit}" -eq 1 ]]; then exit ${rofi_exit};
elif [[ "${rofi_exit}" -eq 10 ]]; then autopass;