From 0ecdd9870a4e49f95d4a054b7c40b9751692eab2 Mon Sep 17 00:00:00 2001 From: Al-Hassan Abdel-Raouf Date: Wed, 14 Oct 2020 10:37:51 +0200 Subject: [PATCH] small change in passwords script --- .config/mutt/muttrc | 2 +- .config/newsboat/config | 2 +- scripts/get-pass.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index e110a20..92b955c 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -1,7 +1,7 @@ set folder = imaps://disroot.org set my_name = "Al-Hassan Abdel-Raouf" set imap_user = alhassanaraouf -set imap_pass=`pass email/alhassanaraouf@disroot.org | head -n 1` +set imap_pass=`~/scripts/get-pass.sh email/alhassanaraouf@disroot.org` set spoolfile = +INBOX mailboxes = +INBOX diff --git a/.config/newsboat/config b/.config/newsboat/config index d9f9f30..4849892 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -2,7 +2,7 @@ urls-source "ocnews" ocnews-url "https://cloud.disroot.org" ocnews-login "alhassanaraouf" -ocnews-passwordeval "pass web/cloud.disroot.org" +ocnews-passwordeval "~/scripts/get-pass.sh web/cloud.disroot.org" ocnews-flag-star "s" diff --git a/scripts/get-pass.sh b/scripts/get-pass.sh index 99986e1..d934dba 100755 --- a/scripts/get-pass.sh +++ b/scripts/get-pass.sh @@ -1,3 +1,3 @@ -#!/usr/bin/env bash +#!/bin/sh /usr/bin/env pass show "$@" | head -n 1