full cached pass

This commit is contained in:
Geoffrey Frogeye 2022-01-08 16:34:55 +01:00
parent 34346743e3
commit a4215e7810

View file

@ -21,9 +21,8 @@ file="${BASEDIR}/${name_base64}"
if [ ! -f "${file}" ]
then
pass="$(pass ${name} | head -1)"
echo -n $pass > "${file}"
notify-send -u low "cached_pass" "Cached: ${name}"
notify-send -u low "cached_pass" "Asking to cache: ${name}"
pass ${name} > "${file}"
fi
cat "${file}"