add 2nd color for help
This commit is contained in:
parent
68fe10d807
commit
350267f8b3
@ -22,6 +22,7 @@ BROWSER='chromium'
|
||||
## Misc settings
|
||||
|
||||
help_color='#0C73C2'
|
||||
help_color2='#FF0000'
|
||||
auto_enter='false'
|
||||
|
||||
# Clipboard settings
|
||||
|
@ -68,8 +68,8 @@ doClip () {
|
||||
|
||||
# main Menu
|
||||
mainMenu () {
|
||||
HELP="<span color='$help_color'>${autotype}: Autotype, ${type_user}: Type User, ${type_pass}: Type Password, ${open_url}: Open URL
|
||||
${copy_name}: Copy Username, ${copy_pass}: Copy Password, ${copy_url}: Copy URL, ${show}: Show Entry</span>"
|
||||
HELP="<span color='$help_color2'>${autotype}: <span color='$help_color'>Autotype,</span> <span color='$help_color2'>${type_user}:</span> <span color='$help_color'>Type User,</span> <span color='$help_color2'>${type_pass}:</span> <span color='$help_color'>Type Password,</span> <span color='$help_color2'>${open_url}:</span> <span color='$help_color'>Open URL</span>
|
||||
<span color='$help_color2'>${copy_name}:</span> <span color='$help_color'>Copy Username,</span> <span color='$help_color2'>${copy_pass}:</span> <span color='$help_color'>Copy Password,</span> <span color='$help_color2'>${copy_url}:</span> <span color='$help_color'>Copy URL,</span> <span color='$help_color2'>${show}:</span> <span color='$help_color'>Show Entry</span></span>"
|
||||
selected_password="$(echo -e "[ Add Entry ]>\n[ Manage Database ]>\n---\n$(list_passwords 2>/dev/null)" | _rofi -mesg "${HELP}" -dmenu -kb-custom-1 "${autotype}" -kb-custom-2 "${type_user}" -kb-custom-3 "${type_pass}" -kb-custom-4 "${open_url}" -kb-custom-5 "${copy_name}" -kb-custom-6 "${copy_pass}" -kb-custom-7 "${show}" -kb-custom-8 "${copy_url}" -dmenu -select "$entry" -p "rofi-pass > ")"
|
||||
rofi_exit=$?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user