carnager / rofi-pass

rofi frontend for pass
GNU General Public License v3.0
696 stars 122 forks source link

Entries without username / control fields being displayed #158

Open blueyed opened 5 years ago

blueyed commented 5 years ago

While you can set autotype: pass in entries already, I would also like to control what entries get displayed in the list.

Therefore I've tried user: (with and without trailing space) to not display it (having it empty), but it results in showing an extra entry "user:" even, which types "user:" then also. This is a bug in itself I think? It is due to how the splitting is done in https://github.com/carnager/rofi-pass/blob/88c0d1bda7c47e50f39f93d5c645c3f0b4220bbf/rofi-pass#L398-L399.

Apart from that, is there a way to omit (default) fields from entries?

This is what I've tried:

foo
--
autotype: pass
user:

Using master (88c0d1b).