random wallpaper bash script

Hau script-e okurridu dast “wallpaper”-a aldatuteko sartzien zaran bakotzan #! /bin/bash FOLDER=”${HOME}/wallpaper” COMMAND=`ls -1 ${FOLDER}` i=0 for C in ${COMMAND} do let “i += 1” array[$i]=$C done R=0 while [ $R -gt $i ] || [ $R -lt 1 ] do R=$RANDOM done # fluxbox fbsetbg -f ${FOLDER}/${array[R]} # gnome #gconftool-2 –set –type=string /desktop/gnome/background/picture_filename {FOLDER}/${array[R]} […]