please change #!/bin/sh at the top of your script to #!/bin/bash because of the following:
WINDOW_IDS=(`xlsclients -l | grep Window | sed s/"Window "// | sed s/://`) another thing is that you do not need to have the line "#!/bin/sh" at the top of the ~/.bbsession file. this file should be sourced, not executed. also, couldn't you have sent that script as an attachment to your message? having to copy and paste it out of your email and reformat the line breaks has made me very cranky. t. -- 4.0k -rw-rw-r-- 1 zork zork 17 Apr 4 17:38 .signature
