set -o pipefail
id=$(lpass ls | rofi -config "~/.config/rofi/passmgr-menu/passmgr.rasi" -dmenu -p ">>> " | awk ' { print substr($3,0, length($3)-1) }')
if [ $? != 1 ]; then
lpass show --password $id | wl-copy
notify-send --app-name=LastPass Password Copied
fi