diff --git a/.config/bash/module/Container.sh b/.config/bash/module/Container.sh index 7d0c42c..e933be4 100644 --- a/.config/bash/module/Container.sh +++ b/.config/bash/module/Container.sh @@ -16,8 +16,12 @@ function ca() { -d -it \ -h "${name}" --name "${name}" \ --workdir /data \ + -e XDG_RUNTIME_DIR=/tmp \ + -e WAYLAND_DISPLAY=${WAYLAND_DISPLAY} \ + -v ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}:/tmp/${WAYLAND_DISPLAY} \ -v ${PWD}:/data \ -v ${HOME}:/root \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ debian:latest bash -c bash &> /dev/null # Attempt to start container.