--- alx-src/branches/alxconf_20060908/functions/config_sessions.sh 2010/12/02 13:25:26 1593 +++ alx-src/branches/alxconf_20060908/functions/config_sessions.sh 2010/12/02 13:27:09 1594 @@ -237,8 +237,8 @@ [ -z "${command}" ] && return 1 # use some defaults for icon, dest, {x,y}res - [ -z "${xres}" ] && xres=20 - [ -z "${yres}" ] && xres=20 + [ -z "${xres}" ] && xres=30 + [ -z "${yres}" ] && xres=30 [ -z "${dest}" ] && dest="${ALX_UNPRIV_HOME}/.xtdesktop/${name}.lnk" if [ -z "${icon}" ] || [ ! -f "${icon}" ] then @@ -298,8 +298,8 @@ # default settings - declare -i x=20 - declare -i y=20 + declare -i x=30 + declare -i y=30 # first all ica sessions local count=${#ALX_SESSIONS[*]} @@ -316,17 +316,17 @@ # new line if x > xres if [ ${x} -ge ${xres} ];then - x=20 + x=30 y=$((${y} + 80)) fi # new row if y > yres if [ ${y} -ge ${yres} ];then x=$((${x} + 120)) - y=20 + y=30 # re-check x - [ ${x} -ge ${xres} ] && x=20 + [ ${x} -ge ${xres} ] && x=30 fi # ica icons @@ -356,17 +356,17 @@ # new line if x > xres if [ ${x} -ge ${xres} ];then - x=20 + x=30 y=$((${y} + 80)) fi # new row if y > yres if [ ${y} -ge ${yres} ];then x=$((${x} + 120)) - y=20 + y=30 # re-check x - [ ${x} -ge ${xres} ] && x=20 + [ ${x} -ge ${xres} ] && x=30 fi generate_icon \