color help message

This commit is contained in:
Rasmus Steinke 2015-08-09 00:21:58 +02:00
parent 32ff3a180d
commit 97b041edaf
2 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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="<span color='$help_color'>${copy_entry}: Copy Entry</span>"
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