A Wayland-native interface for conveniently using pass
LICENSE | ||
README.md | ||
wofi-pass |
wofi-pass
Since wofi
isn't a drop-in replacement for rofi
, I couldn't use
rofi-pass anymore. So, I just made a
version of passmenu
that accomplishes everything I needed from rofi-pass
.
What does it do?
This script uses wofi and
ydotool to provide a completely
Wayland-native way to conveniently use pass.
It provides the same search that passmenu
does, but shows a second dialogue
that lets the user choose which field to copy/print.
It also assumes that pass-otp is
installed if an otpauth://...
string is present in a password file.
The script assumes several things:
- The password is on the first line;
- The rest of the lines are formatted as key:value pairs.
See the following example:
Th3Gr3at3stPassw0rd
username: JohnDoe
email: john@example.com
otpauth://totp/example?secret=ABCDCBABCDCBABCD
pin: 1234
I know this script needs some work; it was mostly hacked together in an afternoon to get the minimum functionality I needed.