Compare commits

..

2 Commits

Author SHA1 Message Date
Simon Bruder ad15a2a516
Use nixos-compatible shebang in run script
continuous-integration/drone/push Build is passing Details
2020-08-25 13:20:34 +02:00
Simon Bruder ef71705c2b
Add wayland support 2020-08-25 13:20:33 +02:00
1 changed files with 7 additions and 7 deletions

14
run.sh
View File

@ -18,16 +18,16 @@ docker run \
--rm \
-it \
--name osu \
-e DISPLAY \
-e PULSE_SERVER=/run/user/$(id -u)/pulse/native \
-e PULSE_COOKIE=/run/pulse/cookie \
--device /dev/dri \
--group-add $(getent group video|cut -d: -f3) \
--group-add $(getent group audio|cut -d: -f3) \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /run/user/$(id -u)/pulse/native:/run/user/$(id -u)/pulse/native \
-v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \
--group-add $(getent group video|cut -d: -f3) \
-e PULSE_COOKIE=/run/pulse/cookie \
-e PULSE_SERVER=/run/user/$(id -u)/pulse/native \
-e WAYLAND_DISPLAY \
-e XDG_RUNTIME_DIR \
-v "$BASEDIR/data/:/home/osu/osu/" \
-v "$BASEDIR/import/:$BASEDIR/import/" \
-v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \
-v "${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR}" \
r.sbruder.de/osu \
$@