]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xinitrc
xmonad/xmonad.hs: Minor documentation fix.
[config/dotfiles.git] / xinitrc
diff --git a/xinitrc b/xinitrc
index 35bbe22f6157952d17fd9bf583f040198f3598ee..c1a96fb7853f16b771efea8ab10c414f20ee5775 100755 (executable)
--- a/xinitrc
+++ b/xinitrc
@@ -2,7 +2,7 @@
 
 # startx configuration file.
 
-# Copyright (C) 2011-2012  Simon Ruderich
+# Copyright (C) 2011-2013  Simon Ruderich
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -60,6 +60,8 @@ if test -f "$HOME/.background" && test -n "$set_background"; then
         hsetroot -full "$HOME/.background"
     elif test -x /usr/bin/feh; then
         feh --bg-scale "$HOME/.background"
+        # Remove the unnecessary ~/.fehbg file created by `feh`. I don't want
+        # to restore the background, I just run `feh` on each startx run.
         # --no-fehbg is only available in recent feh releases.
         rm -f "$HOME/.fehbg"
     fi
@@ -70,6 +72,10 @@ if test -x /usr/bin/remind && test -f "$HOME/.reminders"; then
     remind -z1 -k'.shell/bin/notify.py %s &' "$HOME/.reminders" &
 fi
 
+
+# XMonad doesn't start a shell on its own, start one when I login.
+(urxvt || rxvt || xterm) &
+
 # Start XMonad.
 xmonad