#!/bin/sh
-winid=`NOTABSTART=$NOTABSTART start-tabbed.sh lynx -f start-lynx.sh`
-[ $# -gt 0 ] || exit 0
-exec ~/bin/start-lynx.sh $winid $@
+if tmux has-session -t www 2> /dev/null ; then
+ tmux new-window -t www "lynx $@"
+else
+ tmux new-session -d -s www "lynx $@"
+ tmux set-option -t www default-command lynx
+ DISPLAY=:0 CMD="tmux attach-session -t www" CMDTITLE="Terminal9" $HOME/bin/dwm-term &
+fi