aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrofi-pass19
1 files changed, 10 insertions, 9 deletions
diff --git a/rofi-pass b/rofi-pass
index 73364f5..21a14ee 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -472,7 +472,8 @@ clearUp () {
}
helpMenu () {
- printf '%s' "${autotype}: Autotype
+ _rofi -dmenu -mesg "Hint: All hotkeys are configurable in config file" -p "Help > " <<- EOM
+ ${autotype}: Autotype
${type_user}: Type Username
${type_pass}: Type Password
${qrcode}: Generate and display qrcode
@@ -490,14 +491,14 @@ helpMenu () {
---
${previous_root}: Switch to previous password store (--root)
${next_root}: Switch to next password store (--root)
- " | _rofi -dmenu -mesg "Hint: All hotkeys are configurable in config file" -p "Help > "
- help_val=$?
-
- if [[ $help_val -eq 1 ]]; then
- exit;
- else
- unset helptext; mainMenu;
- fi
+EOM
+help_val=$?
+
+if [[ $help_val -eq 1 ]]; then
+ exit;
+else
+ unset helptext; mainMenu;
+fi
}