mattydebie / bitwarden-rofi

Wrapper for Bitwarden https://github.com/bitwarden/cli and Rofi
GNU General Public License v3.0
346 stars 56 forks source link

When you have multiple logins for a domain,you can't select the proper item #44

Open autoferrit opened 4 years ago

autoferrit commented 4 years ago

For example, I have various google logins, so when I search for ts.google.com I just see image

There should be a way to tell these apart. the chrome extension does this by also showing the username.

JP-Ellis commented 4 years ago

A simple fix would be to change the display to be more similar to the Bitwarden desktop app, using two lines per entry:

google.com foospan>@</spangmail.com

google.com barspan>@</spangmail.com

Mange commented 4 years ago

I do not think Rofi supports multi-line entries, especially not in dmenu mode.

JP-Ellis commented 4 years ago

This is possible:

printf 'Google\nfoo@gmail.com\0Google\nbar@gmail.com' | rofi -dmenu -eh 2 -sep '\0' 

output

Mange commented 4 years ago

Very nice. TIL. I'll use that feature in some of my projects for sure. Thank you for showing me!

JP-Ellis commented 3 years ago

Another issue with multiple domains I just realized is that the automatic insertion ends up typing all usernames and all passwords.