X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=bin%2Fbin%2Fwww;fp=bin%2Fbin%2Fwww;h=0000000000000000000000000000000000000000;hp=86d910255fe1b33c29878f05fb068809cda2122f;hb=211a5d258292629acdbf4a6a94e0aad97a859789;hpb=5318177dea2a285bbd523cdd1f8e822962b6b043 diff --git a/bin/bin/www b/bin/bin/www deleted file mode 100755 index 86d9102..0000000 --- a/bin/bin/www +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -e /tmp/stargrave-flags/WG ] && [ -n "$1" ] && exec xom "$1" & - -term() { - DISPLAY=:0 CMD="tmux attach-session -t www" CMDTITLE="Terminal9" $HOME/bin/dwm-term & -} - -if tmux has-session -t www 2> /dev/null ; then - attached=`tmux list-sessions -F "#{session_attached}" -f "#{==:#{session_name},www}"` - [ "$attached" != "0" ] || { - term & - sleep 0.5 - } - tmux new-window -t www "lynx $@" -else - tmux new-session -d -s www "sleep 0.5 ; lynx $@" - tmux set-option -t www default-command lynx - term & -fi