From a4215e78107b7ae0692889ec3401e48cbab1a2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 8 Jan 2022 16:34:55 +0100 Subject: [PATCH] full cached pass --- config/scripts/cached_pass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/scripts/cached_pass b/config/scripts/cached_pass index f899704..b92f6ec 100755 --- a/config/scripts/cached_pass +++ b/config/scripts/cached_pass @@ -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}"