my-notes-viewer/scripts/cy-command.docker.sh

8 lines
173 B
Bash
Raw Normal View History

2021-09-13 18:12:40 +02:00
#!/bin/sh
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
export DISPLAY=host.docker.internal:0.0
echo DISPLAY: $DISPLAY
yarn cy:$1