From bc662bee6a3eb1f243c89d67b91369fee293c2da Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 30 Jul 2014 23:40:08 +0200 Subject: add goobookrc --- goobookrc | 11 +++++++++++ mutt/muttrc | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 goobookrc diff --git a/goobookrc b/goobookrc new file mode 100644 index 0000000..c7ee71c --- /dev/null +++ b/goobookrc @@ -0,0 +1,11 @@ +[DEFAULT] +# If not given here, email and password is taken from .netrc using +# machine google.com +email: demizide@gmail.com +;password: top secret +# or if you want to get the password from a commmand: +passwordeval: pass show goobook/demizide@gmail.com +# The following are optional, defaults are shown +cache_filename: ~/.cache/goobook +;cache_expiry_hours: 24 +;filter_groupless_contacts: yes diff --git a/mutt/muttrc b/mutt/muttrc index 62e18c8..33b2741 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -35,8 +35,8 @@ set mbox = "+archives" set postponed = "+Drafts" mailboxes +Inbox +Sent +Drafts +Trash +archives +arch-dev-public +aur-general +arch-bugs +Spam +Ham -set query_command="goobook query '%s'" -macro index,pager A "goobook add" "add the sender address to Google contacts" +set query_command='goobook -c "$XDG_CONFIG_HOME/goobookrc" query "%s"' +macro index,pager A "goobook -c \"$XDG_CONFIG_HOME/goobookrc\" add" "add the sender address to Google contacts" bind editor complete-query # Sync email -- cgit v1.2.3-70-g09d2