commit 54c9cbfaf14de45577bce9dcdcd17fe569023a01
parent 3c110d098a4b30a9b29cdc1c864d2dcb3793290e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 14 Dec 2018 17:02:19 -0500
Rename maildir to lower case
Diffstat:
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/links/.i3/config b/links/.i3/config
@@ -27,15 +27,15 @@ client.urgent #002b36 #dc322f #fdf6e3 #002b36
floating_modifier $mod
# start a terminal
-bindsym $mod+Return exec i3-sensible-terminal -e tmux
-bindsym $mod+Shift+Return exec i3-sensible-terminal
+bindsym $mod+Return exec st -e tmux
+bindsym $mod+Shift+Return exec st
# other application launchers
bindsym $mod+b exec firefox
bindsym $mod+t exec tor-browser
bindsym $mod+p exec zathura
bindsym Mod1+Mod4+l exec --no-startup-id ~/bin/keyboard-layout-switch.sh && notify-send `cat ~/.kbd-layout` && killall -SIGUSR1 i3status
-bindsym $mod+n exec i3-sensible-terminal -e ranger
+bindsym $mod+n exec st -e ranger
# volume control with alsamixer
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 3%+ unmute && killall -SIGUSR1 i3status
@@ -193,4 +193,4 @@ exec --no-startup-id unclutter
#exec --no-startup-id xcompmgr
exec --no-startup-id nm-applet
exec --no-startup-id i3-msg 'workspace 2; exec firefox; layout tabbed'
-exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmux-utility.sh'
+exec --no-startup-id i3-msg 'workspace 1; exec st -e tmux-utility.sh'
diff --git a/links/.mutt/muttrc b/links/.mutt/muttrc
@@ -1,5 +1,5 @@
# IMAP: offlineimap
-set folder = "~/Mail"
+set folder = "~/mail"
source ~/.mutt/mailboxes # mailboxes generated by offlineimap
set spoolfile = "+adamsgaard/INBOX"
set mbox_type=Maildir
diff --git a/links/.offlineimaprc b/links/.offlineimaprc
@@ -46,7 +46,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/riseup
+localfolders = ~/mail/riseup
[Repository riseup-remote]
# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
@@ -92,7 +92,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/geomail
+localfolders = ~/mail/geomail
[Repository geomail-remote]
# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
@@ -139,7 +139,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/ucsd
+localfolders = ~/mail/ucsd
[Repository ucsd-remote]
# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
@@ -186,7 +186,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/gmail
+localfolders = ~/mail/gmail
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
@@ -253,7 +253,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/icloud
+localfolders = ~/mail/icloud
[Repository icloud-remote]
# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
@@ -286,7 +286,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/princeton
+localfolders = ~/mail/princeton
[Repository princeton-remote]
# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
@@ -332,7 +332,7 @@ postsynchook = notmuch new
# Currently, offlineimap only supports maildir and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
-localfolders = ~/Mail/noaa
+localfolders = ~/mail/noaa
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
@@ -384,7 +384,7 @@ postsynchook = notmuch new
[Repository adamsgaard-local]
type = Maildir
-localfolders = ~/Mail/adamsgaard
+localfolders = ~/mail/adamsgaard
[Repository adamsgaard-remote]
type = IMAP
diff --git a/links/.profile b/links/.profile
@@ -1,7 +1,8 @@
export EDITOR="vim"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
-export MAILDIR=~/Mail
+export MAILDIR=~/mail
+[ "$(hostname)" = "idkfa" ] && export TERMINAL=st
# shellcheck source=/dev/null
[ -f ~/.secret_env_vars ] && . ~/.secret_env_vars