13
0
livetrax/tools/osx_packaging/bin/getdisplay.sh

10 lines
197 B
Bash
Raw Normal View History

#!/bin/sh
#
# Author: Aaron Voisine <aaron@voisine.org>
if [ "$DISPLAY"x == "x" ]; then
echo :0 > /tmp/$UID/TemporaryItems/display
else
echo $DISPLAY > /tmp/$UID/TemporaryItems/display
fi