Passmenu and i3

I always forget how to install a dmenu script. They’re simple bash scripts that are only limited by imagination. To ‘install’ them, dump it into your global path. Not sure why I can never remember, but because its such a simple system I can never find much documentation, plenty of scripts, but no docs.

Locate the passmenu script, then symlink it to somewhere in $PATH, in my case I use /usr/bin.

locate pass | grep menu
sudo ln -s /usr/share/doc/pass/examples/dmenu/passmenu /usr/bin/passmenu

In i3’s config add the following, adjusting key combination for your needs:

bindsym $mod+Shift+D exec passmenu