mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
When selecting a password to copy via `pass-copy` I often don't remember the name under which I stored the password. Autocomplete in `pass-copy` helps a bit, but I think a bit more visibility would be nice. This PR adds the function `pass-copy-menu`, which displays the available password entries in a menu. The user can then select or narrow down an entry via autocompletion.
23 lines
625 B
Org Mode
23 lines
625 B
Org Mode
** Usage
|
|
|
|
Put the following in your =~/.stumpwmrc=:
|
|
|
|
#+BEGIN_SRC lisp
|
|
(load-module "pass")
|
|
#+END_SRC
|
|
|
|
The following commands will become available:
|
|
|
|
- =pass-copy=: select an entry to put into the
|
|
clipboard. (Auto-completion is available.)
|
|
- =pass-copy-menu=: select an entry from a menu to put into the
|
|
clipboard.
|
|
- =pass-generate=: generate a password for a new given entry and put
|
|
it into the clipboard.
|
|
|
|
There is no command to edit existing entries or to save a new entry
|
|
because the UI would be awkward at best.
|
|
|
|
The =pass:*password-store*= variable defines the home directory,
|
|
=#P"~/.password-store/"= by default.
|