feat: add support for host-spawn
This commit is contained in:
4
enter.sh
4
enter.sh
@@ -21,6 +21,10 @@ run_args() {
|
||||
# Use host networking.
|
||||
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.
|
||||
|
||||
# Mount the wayland socket. Required to get the system
|
||||
# clipbard (wl-copy) working.
|
||||
[ -e "/run/user/$UID/wayland-0" ] && arg "-v /run/user/$UID/wayland-0:/run/user/1000/wayland-0"
|
||||
|
||||
Reference in New Issue
Block a user