diff --git a/Containerfile b/Containerfile index 9dfe5f2..273daf6 100644 --- a/Containerfile +++ b/Containerfile @@ -9,7 +9,7 @@ FROM quay.io/fedora/fedora:42 RUN dnf update -y && \ dnf copr enable -y atim/lazygit && \ dnf -y install neovim unzip awk jq \ - bash-completion host-spawn zoxide fd-find chafa lazygit procps \ + bash-completion host-spawn dbus-launch zoxide fd-find chafa lazygit procps \ git go npm # === setup container user === diff --git a/config/bin/host b/config/bin/host index 45cd774..cea3cdb 100755 --- a/config/bin/host +++ b/config/bin/host @@ -1,2 +1,2 @@ #!/bin/sh -host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" "$@" +host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" $(basename "$0") "$@" diff --git a/enter.sh b/enter.sh index ec51d97..2cd60ee 100755 --- a/enter.sh +++ b/enter.sh @@ -22,8 +22,8 @@ run_args() { arg "--net=host" # Configure options for host-spawn - arg "--volume /run/user/1000/bus:/tmp/bus" # Use host dbus. - arg "-e HOST_HOME=\"$HOME\"" # Pas in host $HOME path. + arg "-v /run/user/1000/bus:/tmp/bus" # Use host dbus. + arg "-e HOST_HOME=$HOME" # Pas in host $HOME path. # Mount the wayland socket. Required to get the system # clipbard (wl-copy) working.