A simple extension of passmenu
script which is part of pass password-store package to add support for wmenu in addition to dmenu-wl on wayland.
Support added for pass plugin pass-otp. we can invoke pass otp
using passmenu --otp
.
passmenu [--otp] [--type] [dmenu/wmenu arguments...]
passmenu [--type] [dmenu/wmenu arguments...]
passmenu [--otp] [dmenu/wmenu arguments...]
Note:
We cannot use --type
option before --otp
. As of now only the above examples are valid.
passmenu
requires one of the following packages to function:
In addition for using the --type
(auto-type) option we require one of :
Similarly, --otp
option require optional dependency :
- pass-otp (extension of pass to generate otp using totp secrets)
passmenu is a dmenu-based interface to pass, the standard Unix password manager. This design allows you to quickly copy a password to the clipboard without having to open up a terminal window if you don't already have one open. If --type is specified, the password is typed using xdotool instead of copied to the clipboard.
On wayland dmenu-wl is used to replace dmenu and ydotool to replace xdotool. Note that the latter requires access to the uinput device, so you'll probably need to add an extra udev rule or similar to give certain non-root users permission.
In addition to dmenu-wl, by using this version of script we can use wmenu in wayland. Further support added for pass-otp extension.
Original passmenu script can be found under /contrib/dmenu in the original pass-repo repository.