let sxmo_rtcwake.sh set $DISPLAY if unset so the burden isn't on the user
Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
parent
edc48a01d2
commit
09fcfa9894
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ if [ "$1" = "--strict" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$DISPLAY" ]; then
|
||||
export DISPLAY=":0"
|
||||
fi
|
||||
|
||||
trap 'finish' TERM INT EXIT
|
||||
|
||||
blink &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue