aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/i3/autostart1
-rw-r--r--.config/imapnotify/pipeframe.conf12
-rw-r--r--.config/neomutt/neomuttrc66
-rw-r--r--.config/xbindkeys/main2
-rw-r--r--.mbsyncrc24
-rw-r--r--.zshrc3
6 files changed, 106 insertions, 2 deletions
diff --git a/.config/i3/autostart b/.config/i3/autostart
index 5ae2355..80f2180 100644
--- a/.config/i3/autostart
+++ b/.config/i3/autostart
@@ -10,5 +10,6 @@ dunst &
flashfocus &
xset r rate 250 40
autocutsel &
+sh ~/.bwunlock &
zsh -c "xbindkeys -f ~/.config/xbindkeys/main"
diff --git a/.config/imapnotify/pipeframe.conf b/.config/imapnotify/pipeframe.conf
new file mode 100644
index 0000000..11ebd5a
--- /dev/null
+++ b/.config/imapnotify/pipeframe.conf
@@ -0,0 +1,12 @@
+{
+ "host": "mail.pipeframe.xyz",
+ "port": 993,
+ "tls": true,
+ "tlsOptions": { "rejectUnauthorized": true },
+ "username": "loek@mail.pipeframe.xyz",
+ "password": "",
+ "passwordCmd": "source ~/.bwsession && bw get password efc4ddc3-cd2d-4090-b570-abea0113217a",
+ "onNewMail": "source ~/.bwsession && mbsync -a",
+ "onNewMailPost": "notify-send 'New mail arrived'",
+ "boxes": [ "Inbox" ]
+}
diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc
new file mode 100644
index 0000000..bc4e4bf
--- /dev/null
+++ b/.config/neomutt/neomuttrc
@@ -0,0 +1,66 @@
+# name
+set realname = "Loek Le Blansch"
+set from = "loek@pipeframe.xyz"
+
+# e-mail server
+set folder = ~/docs/mail/pipeframe/
+set spoolfile = "+Inbox"
+set record = "+Sent"
+set trash = "+Trash"
+set postponed = "+Drafts"
+
+# imap credentials
+set imap_user = "loek@mail.pipeframe.xyz"
+set imap_pass = "`bw get password efc4ddc3-cd2d-4090-b570-abea0113217a`"
+
+# smtp credentials
+set smtp_pass = $imap_pass
+set smtp_url=smtp://$imap_user@mail.pipeframe.xyz:587
+set ssl_force_tls = yes
+
+# mail check timeout
+set mail_check = 60
+
+# mailboxes
+mailboxes +Inbox +Drafts +Junk +Sent +Trash +Archive
+
+# keybinds
+macro index,pager A "<save-message>=Archive<enter>" "Archive Message"
+
+# contacts
+set alias_file = "~/.config/neomutt/aliases"
+set sort_alias = alias
+set reverse_alias = yes
+source $alias_file
+
+# miscellaneous options
+set fast_reply = yes
+set confirmappend = no
+set delete = yes
+set include = yes
+set sort = threads
+set header_cache = "~/.neomutt/hcache"
+set edit_headers
+set editor = "nvim"
+set mime_type_query_command = "xdg-mime query filetype"
+set sendmail = "/usr/bin/msmtp"
+set query_command = "/usr/bin/lbdbq"
+
+# colors
+color hdrdefault blue black
+color quoted blue black
+color signature blue black
+color attachment red black
+color prompt brightmagenta black
+color message brightred black
+color error brightred black
+color indicator black red
+color status white black
+color tree white black
+color normal white black
+color markers red black
+color search white black
+color tilde brightmagenta black
+color index blue black ~F
+color index red black "~N|~O"
+
diff --git a/.config/xbindkeys/main b/.config/xbindkeys/main
index e78f6e1..b7d1399 100644
--- a/.config/xbindkeys/main
+++ b/.config/xbindkeys/main
@@ -8,7 +8,7 @@
Alt + Tab
"st"
Mod4 + Return
-"bwmenu"
+"sh -c 'source ~/.bwsession && bwmenu'"
Mod4 + p
"maim -usb 4 -c 255,255,255 | xclip -selection clipboard -t image/png"
Print
diff --git a/.mbsyncrc b/.mbsyncrc
new file mode 100644
index 0000000..ac3613f
--- /dev/null
+++ b/.mbsyncrc
@@ -0,0 +1,24 @@
+IMAPAccount pipeframe
+Host mail.pipeframe.xyz
+Port 993
+User loek@mail.pipeframe.xyz
+PassCmd "bw get password efc4ddc3-cd2d-4090-b570-abea0113217a"
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore pipeframe-remote
+Account pipeframe
+
+MaildirStore pipeframe-local
+SubFolders Verbatim
+Path ~/docs/mail/pipeframe/
+Inbox ~/docs/mail/pipeframe/Inbox
+
+Channel pipeframe
+Far :pipeframe-remote:
+Near :pipeframe-local:
+# Patterns "/Inbox" "/Drafts" "/Junk" "/Sent" "/Trash" "/Archive"
+Patterns *
+Create Both
+SyncState *
+
diff --git a/.zshrc b/.zshrc
index c770016..d003b09 100644
--- a/.zshrc
+++ b/.zshrc
@@ -37,7 +37,8 @@ alias deemix="deemix -b FLAC -p ~/dl"
alias r="ranger"
alias v="nvim"
alias l="less"
-alias m="make"
+alias m="neomutt"
+alias mk="make"
alias y="yay"
alias n="ncmpcpp"