diff options
author | Olivier@Portable <olivier.radisson@insa-lyon.fr> | 2018-08-02 20:53:27 +0200 |
---|---|---|
committer | Olivier@Portable <olivier.radisson@insa-lyon.fr> | 2018-08-02 20:53:27 +0200 |
commit | ac37bca5a45c4a50ea9f75aaf901f12c27d8e1ac (patch) | |
tree | 63b301c9bdbb9e503ea9587e311dd3204e564159 | |
parent | 7841c77c9ac1ac9a004cce00170d7f8b8e868f94 (diff) | |
download | rofi-pass-ac37bca5a45c4a50ea9f75aaf901f12c27d8e1ac.tar.gz |
change %filename in :filename for user from filename functionnality
-rwxr-xr-x | rofi-pass | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ mainMenu () { fi if [[ -z "${stuff["${USERNAME_field}"]}" ]]; then if [[ -n $default_user ]]; then - if [[ "$default_user" == "%filename" ]]; then + if [[ "$default_user" == ":filename" ]]; then stuff["${USERNAME_field}"]="$(basename $selected_password)" else stuff["${USERNAME_field}"]="${default_user}" |