diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-08-13 20:22:13 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-08-13 20:22:13 +0200 |
commit | 350267f8b36fac3091effca92e42d068b4ea0d41 (patch) | |
tree | 1534604b79b2789f868363de8bb0b64fc67bc017 | |
parent | 68fe10d8072c29086240eba8d7e3244db6f7ead5 (diff) | |
download | rofi-pass-350267f8b36fac3091effca92e42d068b4ea0d41.tar.gz |
add 2nd color for help
-rw-r--r-- | config.example | 1 | ||||
-rwxr-xr-x | rofi-pass | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/config.example b/config.example index eb3e60c..6f7dad7 100644 --- a/config.example +++ b/config.example @@ -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=$? |