Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng 71b445e8b8
Change date format in waybar 2022-04-06 12:00:28 +02:00
coolneng a886e56dcb
Add disroot email account 2022-04-06 11:56:56 +02:00
6 changed files with 111 additions and 1 deletions

View File

@ -0,0 +1,15 @@
{
"host": "disroot.org",
"port": 993,
"tls": true,
"tlsOptions": {
"rejectUnauthorized": true
},
"username": "akasroua@disroot.org",
"passwordCmd": "pass web/disroot.org",
"onNewMail": "mbsync disroot",
"onNewMailPost": "notmuch new",
"boxes": [
"INBOX"
]
}

View File

@ -115,3 +115,65 @@ Channel ugent-sent
Channel ugent-trash
Channel ugent-archive
Channel ugent-junk
IMAPAccount disroot
Host disroot.org
User akasroua@disroot.org
AuthMechs LOGIN
PassCmd "pass web/disroot.org"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore disroot-remote
Account disroot
MaildirStore disroot-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/disroot/
Inbox ~/.mail/disroot/inbox/
Channel sync-disroot-default
Far :disroot-remote:
Near :disroot-local:
Create Both
Expunge Both
SyncState *
Channel sync-disroot-sent
Far :disroot-remote:"Sent"
Near :disroot-local:sent
Create Both
Expunge Both
SyncState *
Channel sync-disroot-trash
Far :disroot-remote:"Trash"
Near :disroot-local:trash
Create Both
Expunge Both
SyncState *
Channel sync-disroot-junk
Far :disroot-remote:"Junk"
Near :disroot-local:junk
Create Both
Expunge Both
SyncState *
Channel sync-disroot-bookings
Far :disroot-remote:"Bookings"
Near :disroot-local:bookings
Create Both
Expunge Both
SyncState *
Group disroot
Channel sync-disroot-default
Channel sync-disroot-sent
Channel sync-disroot-trash
Channel sync-disroot-junk
Channel sync-disroot-bookings

View File

@ -20,3 +20,10 @@ port 587
from amin.kasrouaouam@ugent.be
user amin.kasrouaouam@ugent.be
passwordeval "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile"
account disroot
host disroot.org
port 587
from akasroua@disroot.org
user akasroua@disroot.org
passwordeval "pass web/disroot.org"

View File

@ -0,0 +1,24 @@
# vim: filetype=neomuttrc
# muttrc file for account disroot
set realname = "Amin Kasrou Aouam"
set from = "akasroua@disroot.org"
set sendmail = "~/.config/neomutt/etc/sendmail disroot"
set folder = "~/.mail/disroot"
set mbox_type = Maildir
set ssl_starttls = yes
set ssl_force_tls = yes
bind index,pager gg noop
bind index,pager g noop
bind index gg first-entry
unmailboxes *
mailboxes =junk =inbox =trash =sent =bookings
macro index,pager gi "<change-folder>=inbox<enter>" "Go to inbox."
macro index,pager gs "<change-folder>=sent<enter>" "Go to sent."
macro index,pager gt "<change-folder>=trash<enter>" "Go to trash."
macro index,pager gj "<change-folder>=junk<enter>" "Go to spam."
macro index,pager gb "<change-folder>=bookings<enter>" "Go to bookings."
set spoolfile = "+inbox"
set postponed = ""
set trash = "+trash"

View File

@ -1,3 +1,5 @@
macro index,pager i3 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/disroot.muttrc<enter><change-folder>!<enter>'
source /home/coolneng/.config/neomutt/accounts/disroot.muttrc
macro index,pager i2 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/gmail.muttrc<enter><change-folder>!<enter>'
source /home/coolneng/.config/neomutt/accounts/gmail.muttrc
macro index,pager i1 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/ugent.muttrc<enter><change-folder>!<enter>'

View File

@ -52,7 +52,7 @@
},
"clock": {
"format": "{:%a %d %b %H:%M}",
"format-alt": "{:%Y-%m-%d}"
"format-alt": "{:%d-%m-%Y}"
},
"battery": {
"bat": "BAT0",