aboutsummaryrefslogtreecommitdiff
path: root/astroid/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/dot-config')
-rw-r--r--astroid/dot-config/astroid/config141
-rwxr-xr-xastroid/dot-config/astroid/poll.sh8
2 files changed, 149 insertions, 0 deletions
diff --git a/astroid/dot-config/astroid/config b/astroid/dot-config/astroid/config
new file mode 100644
index 0000000..4d7a818
--- /dev/null
+++ b/astroid/dot-config/astroid/config
@@ -0,0 +1,141 @@
+{
+ "astroid": {
+ "config": {
+ "version": "11"
+ },
+ "notmuch_config": "\/home\/moreka\/.config\/notmuch\/default\/config",
+ "debug": {
+ "dryrun_sending": "false"
+ },
+ "hints": {
+ "level": "0"
+ },
+ "log": {
+ "syslog": "false",
+ "stdout": "true",
+ "level": "info"
+ }
+ },
+ "accounts": {
+ "mit": {
+ "name": "Mohammad Reza Karimi",
+ "email": "moreka@mit.edu",
+ "gpgkey": "",
+ "always_gpg_sign": "false",
+ "sendmail": "msmtp -i -t",
+ "default": "true",
+ "save_sent": "true",
+ "save_sent_to": "\/home\/moreka\/.local\/share\/mail\/mit\/Sent\/cur\/",
+ "additional_sent_tags": "sent",
+ "save_drafts_to":"\/home\/moreka\/.local\/share\/mail\/mit\/Drafts\/cur\/",
+ "signature_separate": "false",
+ "signature_file": "",
+ "signature_file_markdown": "",
+ "signature_default_on": "true",
+ "signature_attach": "false",
+ "select_query": ""
+ }
+ },
+ "startup": {
+ "queries": {
+ "inbox": "tag:inbox and not tag:18650",
+ "18650": "tag:18650"
+ }
+ },
+ "terminal": {
+ "height": "10",
+ "font_description": "monospace 10"
+ },
+ "thread_index": {
+ "page_jump_rows": "6",
+ "sort_order": "newest",
+ "cell": {
+ "font_description": "monospace 10",
+ "line_spacing": "2",
+ "date_length": "10",
+ "message_count_length": "4",
+ "authors_length": "20",
+ "show_left_icons": "true",
+ "subject_color": "#807d74",
+ "subject_color_selected": "#000000",
+ "background_color_selected": "",
+ "background_color_marked": "#fff584",
+ "background_color_marked_selected": "#bcb559",
+ "tags_length": "80",
+ "tags_upper_color": "#e5e5e5",
+ "tags_lower_color": "#333333",
+ "tags_alpha": "0.5",
+ "hidden_tags": "attachment,flagged,unread"
+ }
+ },
+ "general": {
+ "time": {
+ "clock_format": "24h",
+ "same_year": "%b %-e",
+ "diff_year": "%d-%m-%Y"
+ },
+ "tagbar_move": "tag"
+ },
+ "editor": {
+ "cmd": "alacritty -e nvim -c 'set ft=mail' %1",
+ "external_editor": "true",
+ "charset": "utf-8",
+ "save_draft_on_force_quit": "true",
+ "attachment_words": "attach",
+ "attachment_directory": "~",
+ "markdown_processor": "cmark",
+ "markdown_on": "false"
+ },
+ "mail": {
+ "reply": {
+ "quote_processor": "w3m -dump -T text\/html",
+ "quote_line": "On %2, %1 wrote:",
+ "mailinglist_reply_to_sender": "true"
+ },
+ "forward": {
+ "quote_line": "Forwarded message from %1 on %2:",
+ "disposition": "inline"
+ },
+ "sent_tags": "sent",
+ "message_id_fqdn": "",
+ "message_id_user": "",
+ "user_agent": "",
+ "send_delay": "0",
+ "close_on_success": "false",
+ "format_flowed": "true"
+ },
+ "poll": {
+ "interval": "60",
+ "always_full_refresh": "true"
+ },
+ "attachment": {
+ "external_open_cmd": "xdg-open"
+ },
+ "thread_view": {
+ "open_html_part_external": "false",
+ "preferred_type": "plain",
+ "preferred_html_only": "false",
+ "allow_remote_when_encrypted": "false",
+ "open_external_link": "xdg-open",
+ "default_save_directory": "~",
+ "indent_messages": "false",
+ "gravatar": {
+ "enable": "true"
+ },
+ "mark_unread_delay": "0.5",
+ "expand_flagged": "true"
+ },
+ "crypto": {
+ "gpg": {
+ "path": "gpg2",
+ "always_trust": "true",
+ "enabled": "true"
+ }
+ },
+ "saved_searches": {
+ "show_on_startup": "false",
+ "save_history": "true",
+ "history_lines_to_show": "15",
+ "history_lines": "1000"
+ }
+}
diff --git a/astroid/dot-config/astroid/poll.sh b/astroid/dot-config/astroid/poll.sh
new file mode 100755
index 0000000..e0bf94e
--- /dev/null
+++ b/astroid/dot-config/astroid/poll.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -e
+
+# Fetch new mail.
+mbsync mit
+
+notmuch new
+# https://github.com/astroidmail/astroid/wiki/Advanced-Polling-and-Processing-mail#automatic-tagging