Files
sternenseemann 3d36829ce7 passmenu: add support for wayland
Use a similar detection mechanism to pass itself.

On wayland use:

* dmenu-wl instead of dmenu, an (almost) drop-in replacement
* ydotool instead of xdotool, a uinput-based replacement for
  xdotool. It is not as feature-complete, but probably the
  simplest (or only?) way to add the --type functionality to
  passmenu on wayland.
2021-06-11 18:29:09 +02:00
..
2021-06-11 18:29:09 +02:00
2021-06-11 18:29:09 +02:00

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.

Usage

passmenu [--type] [dmenu arguments...]