diff /sys/src/cmd/rio/data.c ./data.c 174a175,193 > Image* > wallpaper() > { > char* home = getenv("home"); > char* wallpath = "/lib/wallpaper"; > char* fullpath = malloc(sizeof(char) * (strlen(home) + strlen(wallpath) + 1)); > strcpy(fullpath, home); > strcat(fullpath, wallpath); > int fp = open(fullpath, OREAD); > if (fp != -1){ > Image* wall = readimage(display, fp, 0); > if (wall != 0){ > return wall; > } > } > > return allocimage(display, Rect(0,0,1,1), RGB24, 1, 0x777777FF); > } > 178c197 < background = allocimage(display, Rect(0,0,1,1), RGB24, 1, 0x777777FF); --- > background = wallpaper(); diff /sys/src/cmd/rio/fns.h ./fns.h 5a6 > Image* wallpaper(void);