1 2 3 4 5 6 7 8
#!/bin/bash # Copyright (C) 2011, 2013 Luke Shumaker <lukeshu@sbcglobal.net> if [ -n "$DISPLAY" ]; then exec x-www-browser "$@" else exec www-browser "$@" fi