# 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
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
fi
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