This commit is contained in:
ashisgreat22 2026-01-21 23:58:24 +01:00
parent 759163965a
commit faf14881a3
92 changed files with 1405 additions and 698 deletions

View file

@ -18,9 +18,7 @@ if ! ip netns list | grep -q "$NAMESPACE"; then
exit 1
fi
COMMAND="$@"
if [ -z "$COMMAND" ]; then
if [ "$#" -eq 0 ]; then
echo "Usage: $0 <command> [args...]"
exit 1
fi
@ -35,4 +33,4 @@ exec ip netns exec "$NAMESPACE" doas -u "$USER" env \
XDG_RUNTIME_DIR="/run/user/$(id -u $USER)" \
WAYLAND_DISPLAY="$WAYLAND_DISPLAY" \
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u $USER)/bus" \
$COMMAND
"$@"