pm

barebones password manager
git clone git://git.ckyln.com/~cem/pm.git
Log | Files | Refs | README

pm-copy-dmenu (189B)


      1 #!/bin/sh
      2 
      3 choice=$(for file in $(pm l) ; do basename "$file" .asc ; done | dmenu -p "Choose the password that you would like to copy" -l 10)
      4 [ "$choice" ] && pm s "$choice" | xclip -sel c