]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/www
b92ce8ae26d0786073560d84f6d64195f1769835
[dotfiles.git] / bin / bin / www
1 #!/bin/sh
2
3 if tmux has-session -t www 2> /dev/null ; then
4     tmux new-window -t www "lynx $@"
5 else
6     tmux new-session -d -s www "lynx $@"
7     tmux set-option -t www default-command lynx
8     DISPLAY=:0 CMD="tmux attach-session -t www" CMDTITLE="Terminal9" $HOME/bin/dwm-term &
9 fi