fix aligning
This commit is contained in:
parent
8caab5e883
commit
3b0042ef18
@ -67,8 +67,8 @@ doClip () {
|
||||
# main Menu
|
||||
mainMenu () {
|
||||
help_text=$(echo -e "${autotype}: Autotype - ${type_user}: Type User - ${type_pass}: Type Password - ${open_url}: Open URL\n${copy_name}: Copy Username - ${copy_pass}: Copy Password - ${copy_url}: Copy URL - ${show}: Show Entry" | column -s '-' -t)
|
||||
line1=$(echo "${help_text}" | column -s ':' -t -o ':' | head -1)
|
||||
line2=$(echo "${help_text}" | column -s ':' -t -o ':' | tail -1)
|
||||
line1=$(echo "${help_text}" | head -1)
|
||||
line2=$(echo "${help_text}" | tail -1)
|
||||
HELP="<span color='$help_color'>${line1}
|
||||
${line2}</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 > ")"
|
||||
|
Loading…
Reference in New Issue
Block a user