diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-07-15 00:43:17 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-07-15 00:43:17 +0200 |
commit | 0ed16e869a25c4a707bd7393aeeb061304ab90d8 (patch) | |
tree | 071a6981e300ffb02061f27b9d20060b35ab0682 | |
parent | 5b6019935812f69105e4610a5ef3175e90d114d6 (diff) | |
download | rofi-pass-0ed16e869a25c4a707bd7393aeeb061304ab90d8.tar.gz |
Use different return code for mode change
-rwxr-xr-x | rofi-pass | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -239,7 +239,7 @@ mainMenu () { selected_password="$(list_passwords 2>/dev/null \ | _rofi -mesg "Bookmarks Mode. ${switch} to switch" \ -dmenu \ - -kb-custom-1 "Alt+x" \ + -kb-custom-10 "${switch}" \ -select "$entry" \ -p "rofi-pass > ")" @@ -247,8 +247,8 @@ mainMenu () { if [[ $rofi_exit -eq 1 ]]; then exit - elif [[ $rofi_exit -eq 10 ]]; then - ${basecommand} + elif [[ $rofi_exit -eq 19 ]]; then + $(${basecommand}) elif [[ $rofi_exit -eq 0 ]]; then openURL fi |