pass-rofi.sh 206 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. IFS=$'\n\t'
  4. notify-send "hello"
  5. pushd "${HOME}/.password-store/"
  6. choice="$(find . -type f -name "*.gpg" | wofi -dmenu)"
  7. choice="${choice%*.gpg}"
  8. pass -c "$choice"