From 9e4c6dfa62435895d777c658b71aafb67638c549 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 30 Aug 2012 19:34:27 -0400 Subject: add a few mail filters --- .maildirproc/default.rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc index 24f51e8..a323e5e 100644 --- a/.maildirproc/default.rc +++ b/.maildirproc/default.rc @@ -102,6 +102,10 @@ def my_filters(mail): mail.move(".software.parabola-dev") return + if (mail["List-Id"].matches("pacman-dev@archlinux.org")): + mail.move(".software.pacman-dev") + return + for subject_re in [ "\[Stow-[^\]]*\].*", ]: @@ -148,6 +152,7 @@ def my_filters(mail): or is_to_or_from(mail,"eldredmac@comcast.net")# MacDonell or is_to_or_from(mail,"mitchprather@sbcglobal.net") or is_to_or_from(mail,"oa_wap@yahoo.com") + or is_to_or_from(mail,"mytroop.us") ): mail.move(".Troop276") return @@ -221,6 +226,8 @@ def my_filters(mail): "canonical.org", "foocorp.net", "cnuk.org", + "@archlinux.org", + "@github.com", ]: if is_to_or_from(mail,address): mail.move(".software") -- cgit v1.2.3 From c9e73feae3f2f452cbca92193cc297276b36d59f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 30 Aug 2012 19:34:40 -0400 Subject: fix 2 bugs in wmiirc --- .wmii/wmiirc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.wmii/wmiirc b/.wmii/wmiirc index 82c424b..92adb8b 100755 --- a/.wmii/wmiirc +++ b/.wmii/wmiirc @@ -47,7 +47,8 @@ Event() { # might complain about /etc/mtab if the x server has already stopped fusermount -u "$WMII_DIR" 2>>/dev/null echo " -> rmdir'ing WMII_DIR=$WMII_DIR..." - rmdir "$WMII_DIR";; + rmdir "$WMII_DIR" + exit;; Warning) ## $@=string notify-send "wmii warning: $*";; Key) ## $1=keystroke @@ -226,7 +227,7 @@ Key() { sel=$(sed 1q $WMII_DIR/client/sel/ctl) { tag=$(lstags | wimenu -h "${hist}.tags" -n 50) || return - wmiir xwrite /client/$sel/tags $tag + wmiir xwrite /client/$sel/tags "$tag" }& ;; esac } ## End Key -- cgit v1.2.3 From b19df9f8d1194c76e6c8bc2ce60929022e8c4632 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Sep 2012 20:13:37 -0400 Subject: .bash_logout: that's where .alsa.save was coming from! --- .bash_logout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_logout b/.bash_logout index 5ca7df0..a8b88c1 100644 --- a/.bash_logout +++ b/.bash_logout @@ -6,4 +6,4 @@ if [ "$SHLVL" = 1 ]; then [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q fi -alsactl --file $HOME/.alsa.save store +make -C "$HOME" -- cgit v1.2.3 From 719b4d14dd22e3ff9136fb587572aaa79c9871a8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Sep 2012 20:14:12 -0400 Subject: .maildirproc: give Jade her own folder --- .maildirproc/default.rc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc index a323e5e..65ba8c6 100644 --- a/.maildirproc/default.rc +++ b/.maildirproc/default.rc @@ -162,6 +162,14 @@ def my_filters(mail): mail.move(".misc.Mom") return + if address in [ + "justicejade10@aol.com", + "parsonsjade@aol.com", + ]: + if mail["From"].contains(address): + mail.move(".misc.Jade") + return + for address in [ "nintendo.com", "nintendo-news.com", @@ -195,7 +203,6 @@ def my_filters(mail): "@usfirst.org", "gamefreak207@gmail.com", # Brett Leedy "tswilson4801@att.net", - "justicejade10@aol.com", "silioso@gmail.com", "cdewalt3@yahoo.com", "bryanbonahoom@gmail.com", -- cgit v1.2.3 From ad5c8c7f2f7ea08579692f55fd4e2faac62ba6f7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Sep 2012 20:15:22 -0400 Subject: add .wicd --- .wicd/WHEREAREMYFILES | 1 + 1 file changed, 1 insertion(+) create mode 120000 .wicd/WHEREAREMYFILES diff --git a/.wicd/WHEREAREMYFILES b/.wicd/WHEREAREMYFILES new file mode 120000 index 0000000..5e06b02 --- /dev/null +++ b/.wicd/WHEREAREMYFILES @@ -0,0 +1 @@ +/var/lib/wicd/WHEREAREMYFILES \ No newline at end of file -- cgit v1.2.3