Commit Graph

9 Commits

Author SHA1 Message Date
Marty Oehme d3965e903a
Fix picker argument passing
Fixed passing arguments to bemenu and dmenu correctly, to allow setting
custom options for them on the command line.

Removed redundant argument passing for rofi.
2022-01-28 10:38:55 +01:00
Marty Oehme 6dc0cd6d16
Fix regression for username fallback
While usernames were now picked up correctly as a fallback from the
filename if none were present in the fields themselves, if there were
any in the fields the program would return an empty string.

This fixes it for both cases, the username existing in the entry fields
or only in the filename. Entry fields will still take precedence.
2022-01-11 17:50:24 +01:00
Marty Oehme 2236d7fec8
Reformat file 2022-01-11 17:47:30 +01:00
Marty Oehme 846c679353
Add fallback to entry name if no username field
Will look for the username as before within the metadata of the entry,
but if there is no field which satisfies the conditions (by default
being named username, user, or login), will fall back to using the entry
name in pass (i.e. the filename).

fixes #3
2021-12-18 17:14:52 +01:00
Marty Oehme 87f20b7e05
Extract clipper choice to function 2021-12-18 17:03:37 +01:00
Marty Oehme 96728de273
Add License to repo 2021-12-18 16:41:42 +01:00
Marty Oehme e6732ad8ad
Rename picker choice option
Renamed the picker option to `PICKER_BACKEND` to open another namespace
for options and work better together with the others.

closes #4
2021-12-18 16:32:37 +01:00
Marty Oehme 9c22913cec
Add initial README 2021-12-18 16:17:56 +01:00
Marty Oehme 66c2e52d7a
initial commit 2021-12-18 14:34:28 +01:00