]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xinitrc: Display reminders using notify.py.
authorSimon Ruderich <simon@ruderich.org>
Fri, 19 Aug 2011 22:22:10 +0000 (00:22 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 19 Aug 2011 22:22:10 +0000 (00:22 +0200)
xinitrc

diff --git a/xinitrc b/xinitrc
index d60a2ec4acd26baf65647e3b133b7970326a1467..4b578b34114125eeec47694e2b3995e033022dde 100755 (executable)
--- a/xinitrc
+++ b/xinitrc
@@ -27,6 +27,11 @@ if [ -f ~/.background ]; then
     fi
 fi
 
+# Display reminders.
+if [ -x /usr/bin/remind -a -f ~/.reminders ]; then
+    remind -z1 -k'.shell/bin/notify.py %s &' ~/.reminders &
+fi
+
 # Start XMonad.
 xmonad