zsh: Use wayland in vapoursynth docker function

home-manager
Simon Bruder 2020-08-24 22:26:08 +02:00
parent f59788caba
commit f86134dab9
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 4 additions and 2 deletions

View File

@ -70,9 +70,11 @@ function vapoursynth() {
docker run \
--rm \
-it \
-e DISPLAY \
-e WAYLAND_DISPLAY \
-e QT_QPA_PLATFORM \
-e XDG_RUNTIME_DIR \
-u $(id -u) \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}:${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY} \
-v "$HOME/.config/:/home/vapoursynth/.config/" \
-v "$PWD:/data/" \
-w /data/ \