From 5905ebd16f357df10b2154a722abaf1747c0f618 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 13 Sep 2020 14:45:38 +0200 Subject: [PATCH] Store data in ~/.local/share/osu --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index d3258b1..c06da74 100755 --- a/run.sh +++ b/run.sh @@ -12,7 +12,7 @@ trap "set_latency_offset 0" SIGINT SIGTERM EXIT BASEDIR="$(dirname $(realpath -s $0))" -mkdir -p "$BASEDIR/data" "$BASEDIR/import" +mkdir -p "$HOME/.local/share/osu" "$BASEDIR/import" docker run \ --rm \ @@ -25,7 +25,7 @@ docker run \ -e PULSE_SERVER=/run/user/$(id -u)/pulse/native \ -e WAYLAND_DISPLAY \ -e XDG_RUNTIME_DIR \ - -v "$BASEDIR/data/:/home/osu/osu/" \ + -v "$HOME/.local/share/osu/:/home/osu/osu/" \ -v "$BASEDIR/import/:$BASEDIR/import/" \ -v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \ -v "${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR}" \