sup - initial commit
This commit is contained in:
parent
3df25d3dda
commit
d70f1b36c0
6 changed files with 91 additions and 7 deletions
43
sup/config.yaml
Normal file
43
sup/config.yaml
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
:editor: vim
|
||||
:thread_by_subject: false
|
||||
:edit_signature: false
|
||||
:ask_for_from: false
|
||||
:ask_for_to: true
|
||||
:ask_for_cc: true
|
||||
:ask_for_bcc: false
|
||||
:ask_for_subject: true
|
||||
:account_selector: true
|
||||
:confirm_no_attachments: true
|
||||
:confirm_top_posting: true
|
||||
:jump_to_open_message: true
|
||||
:discard_snippets_from_encrypted_messages: false
|
||||
:load_more_threads_when_scrolling: true
|
||||
:default_attachment_save_dir: '/home/felix/Temporary/'
|
||||
:sent_source: sup://sent
|
||||
:archive_sent: true
|
||||
:poll_interval: 300
|
||||
:wrap_width: 0
|
||||
:slip_rows: 0
|
||||
:col_jump: 2
|
||||
:stem_language: english
|
||||
:sync_back_to_maildir: true
|
||||
:continuous_scroll: false
|
||||
:always_edit_async: false
|
||||
:accounts:
|
||||
:default:
|
||||
:name: Felix Van der Jeugt
|
||||
:email: felix.vanderjeugt@gmail.com
|
||||
:alternates:
|
||||
- felix.vanderjeugt@12urenloop.be
|
||||
:sendmail: "/usr/bin/msmtp --account=gmail -t --read-envelope-from"
|
||||
:signature: "/home/felix/.signature"
|
||||
:gpgkey: ''
|
||||
:ugent:
|
||||
:name: Felix Van der Jeugt
|
||||
:email: felix.vanderjeugt@ugent.be
|
||||
:sendmail: "/usr/bin/msmtp --account=ugent -t --read-envelope-from"
|
||||
:signature: "/home/felix/.signature"
|
||||
:gpgkey: ''
|
||||
:alternates: []
|
||||
:time_mode: 24h
|
6
sup/hooks/after-poll.rb
Normal file
6
sup/hooks/after-poll.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
if num_inbox > 0
|
||||
system "notify-send", \
|
||||
"#{num_inbox_total_unread} unread messages (#{num_inbox} new)", \
|
||||
from_and_subj_inbox.map {|p| "#{p[0]} - #{p[1]}"}.join("\n")
|
||||
end
|
4
sup/hooks/before-poll.rb
Normal file
4
sup/hooks/before-poll.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
say "Running mbsync..."
|
||||
if not system "mbsync", "-a", "-qq"
|
||||
say "mbsync unsuccesful."
|
||||
end
|
1
sup/hooks/goto.rb
Normal file
1
sup/hooks/goto.rb
Normal file
|
@ -0,0 +1 @@
|
|||
system "xdg-open #{uri} > /dev/null"
|
34
sup/sources.yaml
Normal file
34
sup/sources.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
- !supmua.org,2006-10-01/Redwood/Maildir
|
||||
uri: maildir:/home/felix/Mail/gmail/Inbox
|
||||
usual: true
|
||||
archived: false
|
||||
sync_back: true
|
||||
id: 1
|
||||
labels:
|
||||
- GMail
|
||||
- !supmua.org,2006-10-01/Redwood/Maildir
|
||||
uri: maildir:/home/felix/Mail/ugent/Inbox
|
||||
usual: true
|
||||
archived: false
|
||||
sync_back: true
|
||||
id: 3
|
||||
labels:
|
||||
- UGent
|
||||
- !supmua.org,2006-10-01/Redwood/Maildir
|
||||
uri: maildir:/home/felix/Mail/gmail/Sent
|
||||
usual: true
|
||||
archived: true
|
||||
sync_back: true
|
||||
id: 2
|
||||
labels:
|
||||
- GMail
|
||||
- !supmua.org,2006-10-01/Redwood/Maildir
|
||||
uri: maildir:/home/felix/Mail/ugent/Sent
|
||||
usual: true
|
||||
archived: true
|
||||
sync_back: true
|
||||
id: 4
|
||||
labels:
|
||||
- UGent
|
||||
- !supmua.org,2006-10-01/Redwood/SentLoader {}
|
Loading…
Add table
Add a link
Reference in a new issue