Adaptation of passmenu, a dmenu-based interface to pass, to better suit my personal way of organising passwords and related info.
Each entry is comprised of a subdirectory with a .gpg
file for each field.
A field contains a single piece of information, e.g. username, password, url, etc.
Clone the repository and symlink passmenu-jsvm
to a location on your system's $PATH
, e.g.
$ ln -s passmenu-jsvm ~/.local/bin/passmenu-jsvm
passmenu-jsvm
: select an entry, then a field of that entry, then copy it to the clipboardpassmenu-jsvm --type
: select an entry, then a field of that entry, then type it using xdotoolpassmenu-jsvm --autotype
: select an entry, then type<username><Tab><password><Ret>
using xdotool
Options can be passed to dmenu by defining the variable $DMENU_OPTIONS
in ~/.dmenurc
.
For example, I set the font and colours in mine:
# ~/.dmenurc
DMENU_FN="RobotoCondensed-12"
DMENU_NB="#2E3440"
DMENU_NF="#D8DEE9"
DMENU_SB="#81A1C1"
DMENU_SF="#2E3440"
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
- Bind
passmenu-jsvm --type
/--autotype
to a key, e.g. Super+p for very easy access