-if [ -f ~/.background ]; then
- # But not on slow machines in the university.
- HOSTNAME=`hostname`
- if [ "x`echo $HOSTNAME | grep faui0sr`" = x ]; then
- if [ -x /usr/bin/hsetroot ]; then
- hsetroot -full ~/.background
- elif [ -x /usr/bin/feh ]; then
- feh --bg-scale ~/.background
- fi
+if test -f "$HOME/.background" && test -n "$set_background"; then
+ if test -x /usr/bin/hsetroot; then
+ hsetroot -full "$HOME/.background"
+ elif test -x /usr/bin/feh; then
+ feh --bg-scale "$HOME/.background"