carnager / rofi-pass

rofi frontend for pass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Entries without username / control fields being displayed

blueyed opened this issue · comments

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

rofi-pass/rofi-pass

Lines 398 to 399 in 88c0d1b

_id="${LINE%%: *}"
_val="${LINE#* }"
.

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).