summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/login.local.sh4
-rw-r--r--.config/maildirproc/att.rc (renamed from .config/maildirproc/default.rc)2
-rw-r--r--.config/maildirproc/purdue.rc2
-rw-r--r--.config/symlinks2
4 files changed, 7 insertions, 3 deletions
diff --git a/.config/login.local.sh b/.config/login.local.sh
index 25b322b..19f1abb 100644
--- a/.config/login.local.sh
+++ b/.config/login.local.sh
@@ -2,8 +2,8 @@
# Start background programs ##########################################
if [ -x "`which daemon`" ]; then
- daemon -i maildirproc.att maildirproc
- daemon -i maildirproc.purdue maildirproc -r ~/.maildirproc/purdue.rc
+ daemon -i maildirproc.att maildirproc -r "$XDG_CONFIG_HOME"/maildirproc/att.rc
+ daemon -i maildirproc.purdue maildirproc -r "$XDG_CONFIG_HOME"/maildirproc/purdue.rc
daemon batterymon 20 "
amixer sset Master unmute 100%;
espeak 'PLUG ME IN';
diff --git a/.config/maildirproc/default.rc b/.config/maildirproc/att.rc
index 2941bd1..2bfc002 100644
--- a/.config/maildirproc/default.rc
+++ b/.config/maildirproc/att.rc
@@ -1,9 +1,11 @@
# -*- mode: python; -*-
+import os
import subprocess
processor.maildir_base = "~/Maildir"
processor.auto_reload_rcfile = True
+processor.logfile = os.getenv('XDG_CACHE_HOME', "~/.cache")+"/maildirproc/att.log"
def is_to_or_from(mail,address):
"""
diff --git a/.config/maildirproc/purdue.rc b/.config/maildirproc/purdue.rc
index 6a37bc3..4277a54 100644
--- a/.config/maildirproc/purdue.rc
+++ b/.config/maildirproc/purdue.rc
@@ -1,9 +1,11 @@
# -*- mode: python; -*-
+import os
import subprocess
processor.maildir_base = "~/Maildir.purdue"
processor.auto_reload_rcfile = True
+processor.logfile = os.getenv('XDG_CACHE_HOME', "~/.cache")+"/maildirproc/purdue.log"
def is_to_or_from(mail,address):
"""
diff --git a/.config/symlinks b/.config/symlinks
index 507cac4..c7d3404 100644
--- a/.config/symlinks
+++ b/.config/symlinks
@@ -30,12 +30,12 @@
.config/offlineimaprc .offlineimaprc
# Directories
+.cache/maildirproc/ .maildirproc
.config/icons/ .icons
.config/arduino/ .arduino
.config/bazaar/ .bazaar
.config/cpan/ .cpan
.config/emacs/ .emacs.d
-.config/maildirproc/ .maildirproc
.config/mozilla/ .mozilla #
.config/mplayer/ .mplayer
.config/nanorc .nanorc