mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 15:04:24 -05:00
Compare commits
3 Commits
e9490716b3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 847ad1f25f | |||
| 94545abeb3 | |||
| 683287c0b7 |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,8 +1,6 @@
|
|||||||
# Ignore the yazi packages and only store the commit in the dotfiles
|
# Ignore the yazi packages and only store the commit in the dotfiles
|
||||||
cli/dot-config/yazi/flavors
|
cli/dot-config/yazi/flavors
|
||||||
cli/dot-config/yazi/plugins
|
cli/dot-config/yazi/plugins
|
||||||
cli/dot-config/weechat/sec.conf
|
|
||||||
|
|
||||||
# No database
|
# Security
|
||||||
home/dot-newsboat/cache.db
|
cli/dot-config/weechat/sec.conf
|
||||||
home/dot-newsboat/cache.db.lock
|
|
||||||
|
|||||||
@@ -9,3 +9,9 @@ Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults.
|
|||||||
## Additional
|
## Additional
|
||||||
|
|
||||||
Setup `rlone` host `Strato` for the automatic webdav mounting to work. This is automatically done when using hyprland.
|
Setup `rlone` host `Strato` for the automatic webdav mounting to work. This is automatically done when using hyprland.
|
||||||
|
|
||||||
|
## Secrets
|
||||||
|
|
||||||
|
Be sure to configure `pass` to implement the following passwords
|
||||||
|
- uniimap
|
||||||
|
- gmximap
|
||||||
|
|||||||
17
cli/dot-config/aerc/accounts.conf
Normal file
17
cli/dot-config/aerc/accounts.conf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[PersonalGmx]
|
||||||
|
source = imaps://jonashahn1%40gmx.net@imap.gmx.net:993
|
||||||
|
outgoing = smtp://jonashahn1%40gmx.net@mail.gmx.net:587
|
||||||
|
source-cred-cmd = pass gmximap
|
||||||
|
outgoing-cred-cmd = pass gmximap
|
||||||
|
default = INBOX
|
||||||
|
from = Jonas Hahn <jonashahn1@gmx.net>
|
||||||
|
cache-headers = true
|
||||||
|
|
||||||
|
[Uni]
|
||||||
|
source = imaps://ug-student%5Cj.hahn02@email.stud.uni-goettingen.de:993
|
||||||
|
outgoing = smtp://ug-student%5Cj.hahn02@email.stud.uni-goettingen.de:25
|
||||||
|
source-cred-cmd = pass uniimap
|
||||||
|
outgoing-cred-cmd = pass uniimap
|
||||||
|
default = INBOX
|
||||||
|
from = Jonas Hahn <j.hahn02@stud.uni-goettingen.de>
|
||||||
|
cache-headers = true
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
source ~/vault/mutt_keys
|
source ~/vault/mutt_keys
|
||||||
|
|
||||||
set folder=~/mail
|
set folder=~/mail
|
||||||
set spoolfile="imaps://imap.gmx.net/"
|
source ~/.mutt-mailboxes
|
||||||
|
|
||||||
set sidebar_visible
|
set sidebar_visible
|
||||||
set header_cache = "~/.cache/mutt"
|
set header_cache = "~/.cache/mutt"
|
||||||
@@ -9,18 +8,8 @@ set message_cachedir = "~/.cache/mutt-mess"
|
|||||||
set mailcap_path = "~/.config/neomutt/mailcap"
|
set mailcap_path = "~/.config/neomutt/mailcap"
|
||||||
set record="~/mail/sent-mail"
|
set record="~/mail/sent-mail"
|
||||||
set postponed="~/mail/drafts"
|
set postponed="~/mail/drafts"
|
||||||
|
set mbox_type = Maildir
|
||||||
|
|
||||||
set mail_check = 5
|
|
||||||
set folder=/dev/null
|
|
||||||
account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
|
|
||||||
account-hook imap.gmx.net "set from=$my_user imap_user=$my_user imap_pass=$my_pass smtp_user=$my_user smtp_pass=$my_pass smtp_url=smtps://smtp.gmx.net"
|
|
||||||
#account-hook email.gwdg.de "set imap_user=$my_user2 imap_pass=$my_pass2 smtp_user=$my_user2 smtp_pass=$my_pass2 smtp_url=smtps://email.gwdg.de"
|
|
||||||
#account-hook imap.web.de "set imap_user=$my_user3 imap_pass=$my_pass3 smtp_user=$my_user3 smtp_pass=$my_pass3 smtp_url=smtps://smtp.web.de"
|
|
||||||
#account-hook imap.mail.me.com "set imap_user=$my_user4 imap_pass=$my_pass4 smtp_user=$my_user4 smtp_pass=$my_pass4 smtp_url=smtps://smtp.mail.me.com"
|
|
||||||
#named-mailboxes "UniStud" imaps://email.gwdg.de
|
|
||||||
#named-mailboxes "WebHorn" imaps://imap.web.de
|
|
||||||
named-mailboxes "GmxMain" imaps://imap.gmx.net
|
|
||||||
#named-mailboxes "Apple" imaps://imap.mail.me.com
|
|
||||||
|
|
||||||
# Color definitions
|
# Color definitions
|
||||||
set my_bg = "color236"
|
set my_bg = "color236"
|
||||||
|
|||||||
27
home/dot-mbsyncrc
Executable file
27
home/dot-mbsyncrc
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
# Global configuration section
|
||||||
|
# Values here are used as defaults for any following Channel section that
|
||||||
|
# doesn't specify them.
|
||||||
|
Expunge None
|
||||||
|
Create Both
|
||||||
|
|
||||||
|
# More sections follow
|
||||||
|
#
|
||||||
|
# !!!! Note that empty lines delimit sections !!!!
|
||||||
|
|
||||||
|
MaildirStore local
|
||||||
|
Path ~/mail/mbsync
|
||||||
|
Trash Trash
|
||||||
|
|
||||||
|
IMAPStore gmx
|
||||||
|
Host imap.gmx.net
|
||||||
|
User jonashahn1@gmx.net
|
||||||
|
PassCmd "pass gmximap"
|
||||||
|
|
||||||
|
Channel gmx
|
||||||
|
Far :gmx:
|
||||||
|
Near :local:gmx
|
||||||
|
MaxMessages 150
|
||||||
|
MaxSize 200k
|
||||||
|
|
||||||
|
Group boxes
|
||||||
|
Channels gmx
|
||||||
5
home/dot-offlineimap.py
Normal file
5
home/dot-offlineimap.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#! /usr/bin/env python
|
||||||
|
from subprocess import check_output
|
||||||
|
|
||||||
|
def get_pass(account):
|
||||||
|
return check_output("pass " + account, shell=True).splitlines()[0]
|
||||||
@@ -1,25 +1,47 @@
|
|||||||
[general]
|
[general]
|
||||||
accounts = Test
|
accounts = Uni,Gmx
|
||||||
|
pythonfile = ~/.offlineimap.py # This is used for the password script
|
||||||
|
|
||||||
[Account Test]
|
[Account Uni]
|
||||||
localrepository = Local
|
localrepository = LocalUni
|
||||||
remoterepository = Remote
|
remoterepository = RemoteUni
|
||||||
|
|
||||||
[Repository Local]
|
[Repository LocalUni]
|
||||||
type = Maildir
|
type = Maildir
|
||||||
localfolders = ~/mail/offline/
|
sync_deletes = no
|
||||||
|
localfolders = ~/mail/Uni/
|
||||||
|
|
||||||
[Repository Remote]
|
[Repository RemoteUni]
|
||||||
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
||||||
type = IMAP
|
type = IMAP
|
||||||
remoteuser = ug-student\j.hahn02
|
remoteuser = ug-student\j.hahn02
|
||||||
|
remotepasseval = get_pass("uniimap")
|
||||||
|
sync_deletes = no
|
||||||
remotehost = email.gwdg.de
|
remotehost = email.gwdg.de
|
||||||
|
|
||||||
|
# Gmx account
|
||||||
|
[Account Gmx]
|
||||||
|
localrepository = LocalGmx
|
||||||
|
remoterepository = RemoteGmx
|
||||||
|
|
||||||
|
[Repository LocalGmx]
|
||||||
|
type = Maildir
|
||||||
|
sync_deletes = no
|
||||||
|
localfolders = ~/mail/Gmx/
|
||||||
|
|
||||||
|
[Repository RemoteGmx]
|
||||||
|
type = IMAP
|
||||||
|
remoteuser = jonashahn1@gmx.net
|
||||||
|
remotepasseval = get_pass("gmximap")
|
||||||
|
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
||||||
|
sync_deletes = no
|
||||||
|
remotehost = imap.gmx.net
|
||||||
|
|
||||||
[mbnames]
|
[mbnames]
|
||||||
enabled = yes
|
enabled = yes
|
||||||
filename = ~/.mutt-mailboxes
|
filename = ~/.mutt-mailboxes
|
||||||
header = "mailboxes "
|
header = "mailboxes "
|
||||||
peritem = "+%(accountname)s/%(foldername)s"
|
peritem = +%(accountname)s/%(foldername)s
|
||||||
sep = " "
|
sep = " "
|
||||||
footer = "\n"
|
footer = "\n"
|
||||||
incremental = no
|
incremental = no
|
||||||
|
|||||||
Reference in New Issue
Block a user