diff options
-rw-r--r-- | aerc/.config/aerc/accounts.conf | 7 | ||||
-rw-r--r-- | r2e/.config/rss2email.cfg | 114 | ||||
-rw-r--r-- | r2e/.config/systemd/user/rss2email.service | 9 | ||||
-rw-r--r-- | r2e/.config/systemd/user/rss2email.timer | 10 |
4 files changed, 140 insertions, 0 deletions
diff --git a/aerc/.config/aerc/accounts.conf b/aerc/.config/aerc/accounts.conf index d9e6ff8..67736bb 100644 --- a/aerc/.config/aerc/accounts.conf +++ b/aerc/.config/aerc/accounts.conf @@ -1,6 +1,13 @@ [Gmail] source = maildir://~/.local/share/mail/gmail +check-mail-cmd = mbsync -c ~/.config/mbsync/mbsyncrc gmail outgoing = /usr/sbin/sendmail from = Toby Vincent <tobyv13@gmail.com> pgp-auto-sign = true folders-sort = INBOX,Archive,Sent,Drafts,Trash + +[Feeds] +source = maildir://~/.local/share/mail/feeds +check-mail-cmd = r2e run +from = Toby Vincent <tobyv13@gmail.com> +folders-sort = INBOX diff --git a/r2e/.config/rss2email.cfg b/r2e/.config/rss2email.cfg new file mode 100644 index 0000000..0af47f1 --- /dev/null +++ b/r2e/.config/rss2email.cfg @@ -0,0 +1,114 @@ +[DEFAULT] +from = feeds@tobyvin.dev +user-agent = rss2email/__VERSION__ (__URL__) +use-8bit = False +force-from = False +use-publisher-email = True +name-format = {feed-name} +to = tobyv13@gmail.com +proxy = +feed-timeout = 60 +same-server-fetch-interval = 0 +active = True +digest = False +digest-type = multipart/digest +date-header = True +date-header-order = modified, issued, created, expired +bonus-header = +trust-guid = True +trust-link = False +reply-changes = False +encodings = US-ASCII, ISO-8859-1, UTF-8, BIG5, ISO-2022-JP +post-process = +digest-post-process = +subject-format = {feed-title} +html-mail = False +multipart-html = False +use-css = False +css = h1 { + font: 18pt Georgia, "Times New Roman"; + } + body { + font: 12pt Arial; + } + a:link { + font: 12pt Arial; + font-weight: bold; + color: #0000cc; + } + blockquote { + font-family: monospace; + } + .header { + background: #e0ecff; + border-bottom: solid 4px #c3d9ff; + padding: 5px; + margin-top: 0px; + color: red; + } + .header a { + font-size: 20px; + text-decoration: none; + } + .footer { + background: #c3d9ff; + border-top: solid 4px #c3d9ff; + padding: 5px; + margin-bottom: 0px; + } + .entry { + border: solid 4px #c3d9ff; + } + .body { + margin-left: 5px; + margin-right: 5px; + } + +unicode-snob = False +links-after-each-paragraph = False +inline-links = True +wrap-links = True +body-width = 0 +email-protocol = maildir +sendmail = /usr/sbin/sendmail +sendmail_config = +smtp-auth = False +smtp-username = username +smtp-password = password +smtp-server = smtp.example.net +smtp-port = 465 +smtp-ssl = False +imap-auth = False +imap-username = username +imap-password = password +imap-server = imap.example.net +imap-port = 143 +imap-ssl = False +imap-mailbox = INBOX +maildir-path = ~/.local/share/mail/feeds +maildir-mailbox = INBOX +verbose = info + +[feed.twir] +url = https://this-week-in-rust.org/atom.xml + +[feed.seanmonstar] +url = https://seanmonstar.com/rss + +[feed.rustmagazine] +url = https://rustmagazine.org/feed.xml + +[feed.gamedev] +url = https://gamedev.rs/rss.xml + +[feed.rust] +url = https://blog.rust-lang.org/feed.xml + +[feed.rustwasm] +url = https://rustwasm.github.io/feed.xml + +[feed.insiderust] +url = https://blog.rust-lang.org/inside-rust/feed.xml + +[feed.sourcehut] +url = https://sourcehut.org/blog/index.xml diff --git a/r2e/.config/systemd/user/rss2email.service b/r2e/.config/systemd/user/rss2email.service new file mode 100644 index 0000000..de53fa5 --- /dev/null +++ b/r2e/.config/systemd/user/rss2email.service @@ -0,0 +1,9 @@ +[Unit] +Description=RSS email synchronization service + +[Service] +Type=oneshot +ExecStart=/usr/bin/r2e run + +[Install] +WantedBy=default.target diff --git a/r2e/.config/systemd/user/rss2email.timer b/r2e/.config/systemd/user/rss2email.timer new file mode 100644 index 0000000..7bf856b --- /dev/null +++ b/r2e/.config/systemd/user/rss2email.timer @@ -0,0 +1,10 @@ +[Unit] +Description=RSS email synchronization timer + +[Timer] +OnBootSec=2m +OnUnitActiveSec=5m +Unit=rss2email.service + +[Install] +WantedBy=timers.target |