X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=c1a96fb7853f16b771efea8ab10c414f20ee5775;hb=62a7d2081e7a2273b3deb69458382b8ef48559a4;hp=35bbe22f6157952d17fd9bf583f040198f3598ee;hpb=1f035fb8c343f1206bdedb2c282536ca6e9aa263;p=config%2Fdotfiles.git diff --git a/xinitrc b/xinitrc index 35bbe22..c1a96fb 100755 --- 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