10 lines
139 B
Bash
10 lines
139 B
Bash
function disp() {
|
|
if [[ $1 =~ ":" ]] ; then
|
|
VALUE=$1
|
|
else
|
|
VALUE=localhost:$1.0
|
|
fi
|
|
|
|
export DISPLAY=$VALUE
|
|
}
|