feat: add support for host-spawn

This commit is contained in:
Job
2025-07-18 21:10:12 +02:00
parent 1063e6d565
commit 388da00743
6 changed files with 12 additions and 1 deletions

View File

@@ -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"