only show "cleared password" prompt if succesfull gpg masterpassword entried
This commit is contained in:
parent
614f381831
commit
b240e5e5d6
@ -53,6 +53,7 @@ while [ "$DONE" -eq 0 ] ; do
|
||||
sed -e "s/^/\"/" -e "s/$/\"/" $HOME/.cache/passstring | xargs -r notify-send "Password" -t 4000
|
||||
sleep 45
|
||||
if [ -f $HOME/.cache/passstring ]; then
|
||||
[ "$(wc -l "$HOME/.cache/passstring" | cut -d' ' -f1 )" -gt 0 ] &&
|
||||
notify-send "Password" "password cleared from clipboard" -t 4000
|
||||
rm $HOME/.cache/passstring
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user