aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-24 09:04:55 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-24 09:04:55 +0100
commit834eca533e9522ec7899dd00246aea90baac145e (patch)
treeb98f102c8b30583b8dc40bf0389f4d6b449d5cb1 /.config
parent7f02bf3881b3223339c47fc2a519c639d1aa3ca6 (diff)
mutt + mail server set up :tada:
Diffstat (limited to '.config')
-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
4 files changed, 80 insertions, 1 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