Commits

Jason Ryan  committed 03691d0

Highlighting

  • Participants
  • Parent commits b6fd95d

Comments (0)

Files changed (1)

File Scripts/passmenu

 #!/usr/bin/env bash
+# https://github.com/cdown/passmenu
 
 shopt -s nullglob globstar
 
 nb='#121212'
 nf='#696969'
 sb='#121212'
-sf='#E0E0E0'
+sf='#914E89'
 dmenucmd=( dmenu -i -fn "$font" -nb "$nb" -nf "$nf" -sb "$sb" -sf "$sf" )
 
 prefix=${PASSWORD_STORE_DIR-~/.password-store}
 
 password=$(printf '%s\n' "${password_files[@]}" | "${dmenucmd[@]}" "$@")
 
-[[ -n $password ]] || exit
-
-pass show -c "$password" 2>/dev/null
+[[ -n $password ]] && pass show -c "$password" 2>/dev/null