Added Option in Config, to set default behaviour.
This commit is contained in:
parent
cfa9af61b9
commit
750182e34a
@ -24,6 +24,7 @@ BROWSER='chromium'
|
|||||||
|
|
||||||
## Misc settings
|
## Misc settings
|
||||||
|
|
||||||
|
default_do='copyPass' # autopass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
|
||||||
help_color='#0C73C2'
|
help_color='#0C73C2'
|
||||||
auto_enter='false'
|
auto_enter='false'
|
||||||
notify='false'
|
notify='false'
|
||||||
|
@ -207,7 +207,7 @@ ${line3}</span>"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# actions based on keypresses
|
# 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 13 ]]; then openURL;
|
||||||
elif [[ "${rofi_exit}" -eq 1 ]]; then exit ${rofi_exit};
|
elif [[ "${rofi_exit}" -eq 1 ]]; then exit ${rofi_exit};
|
||||||
elif [[ "${rofi_exit}" -eq 10 ]]; then autopass;
|
elif [[ "${rofi_exit}" -eq 10 ]]; then autopass;
|
||||||
|
Loading…
Reference in New Issue
Block a user