From 97b041edaf080c7533a9c943058db9f48187b8a2 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Sun, 9 Aug 2015 00:21:58 +0200 Subject: [PATCH] color help message --- config.example | 3 ++- rofi-pass | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.example b/config.example index 10a0d48..032f3c9 100644 --- a/config.example +++ b/config.example @@ -29,9 +29,10 @@ autotype="Alt+1" type_user="Alt+2" type_pass="Alt+3" open_url="Alt+4" -copy_name="Alt+c" +copy_name="Alt+u" copy_pass="Alt+p" edit="Alt+9" move="Alt+2" delete="Alt+3" show="Alt+5" +copy_entry="Alt+c" diff --git a/rofi-pass b/rofi-pass index 8a3f2b5..bda54ed 100755 --- a/rofi-pass +++ b/rofi-pass @@ -167,7 +167,8 @@ manageMenu() { } showEntry () { - bla=$(echo -e "0 Return\n---\n$(pass "$selected_password")" | _rofi -dmenu -mesg "Alt+1: Copy Entry" -p "> ") + HELP="${copy_entry}: Copy Entry" + bla=$(echo -e "0 Return\n---\n$(pass "$selected_password")" | _rofi -dmenu -mesg "${HELP}" -p "> ") rofi_exit=$? word=$(echo "$bla" | awk -F': ' '{print $1}') if [[ ${rofi_exit} -eq 0 ]]; then