diff --git a/enter.sh b/enter.sh index d3aa29c..ab0fb02 100755 --- a/enter.sh +++ b/enter.sh @@ -28,8 +28,9 @@ run_args() { arg "--net=host" # Mount the wayland socket. Required to get the system - # clipbard (wl-copy) working. + # clipbard (wl-copy) and gui applications working. [ -e "/run/user/$UID/wayland-0" ] && arg "-v /run/user/$UID/wayland-0:/run/user/1000/wayland-0" + arg "--device /dev/dri" # mount gpu devices for gpu acceleration. # Mount the ssh socket, directory and the git config # directory. This gets the host ssh and git configuration @@ -74,7 +75,6 @@ if [ "$pull" = true ] || [ "$(podman container inspect "$name" -f {{.State.Runni log "failed to download container image" 'x' 31 fi podman container rm -f -t 1 "$name" 1>/dev/null - run_args podman run -td $(run_args) "$registry/$name" else log "no updates available" '✓' 32 diff --git a/state/registry b/state/registry index 55df947..25e26d3 100644 --- a/state/registry +++ b/state/registry @@ -1 +1 @@ -ghcr.io/job79/ +ghcr.io/job79