Skip to content

Instantly share code, notes, and snippets.

@michaelskyba
Last active March 28, 2022 15:39
Show Gist options
  • Save michaelskyba/f207baab9dda82472ab28433130bb5f5 to your computer and use it in GitHub Desktop.
Save michaelskyba/f207baab9dda82472ab28433130bb5f5 to your computer and use it in GitHub Desktop.
script to use budgetpass inside dmenu
#!/bin/sh
# msk_pass: uses bpass in dmenu
# use in sxhkd
picked=$(ls $BP_HOME | dmenu)
[ $picked ] && exit
master=$(:| dmenu)
[ $master ] && exit
echo "$master" | bpass get $picked | xclip -sel c
@michaelskyba
Copy link
Author

Workflow

  1. Press assigned binding (Mine is Alt + g)
  2. Pick which password you want to get
  3. Enter your master password
  4. Paste your newly-copied "local" password into whatever prompt you're in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment