X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=c1a96fb7853f16b771efea8ab10c414f20ee5775;hb=62a7d2081e7a2273b3deb69458382b8ef48559a4;hp=127683d5992c59c820aa745a4edfc5b1721acbdb;hpb=272053303a40c6fc2397452eb4e1bd3d89d627c0;p=config%2Fdotfiles.git diff --git a/xinitrc b/xinitrc index 127683d..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,10 @@ 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 fi @@ -68,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