From 26b4e0787f66b375ea979be96d12edc651e7b265 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 6 Sep 2015 16:34:37 +0200 Subject: bin/pass2offlineimap: Adding password handling through pass for offlineimap --- bin/pass2offlineimap | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bin/pass2offlineimap (limited to 'bin') diff --git a/bin/pass2offlineimap b/bin/pass2offlineimap new file mode 100644 index 0000000..72f5829 --- /dev/null +++ b/bin/pass2offlineimap @@ -0,0 +1,5 @@ +#! /usr/bin/env python2 +from subprocess import check_output + +def get_pass(account): + return check_output("pass Mail/" + account, shell=True).rstrip() -- cgit v1.2.3-70-g09d2