Skip to content

Commit 7ac4478

Browse files
authored
Add the ability to pass additional arguments to Xephyr
#263
1 parent fc53be3 commit 7ac4478

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

conty-start.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ Environment variables:
204204
XEPHYR_SIZE Sets the size of the Xephyr window. The default is
205205
800x600.
206206
207+
XEPHYR_ARGS Adds arguments specified in this environment
208+
variable to the Xephyr launch command.
209+
207210
CUSTOM_MNT Sets a custom mount point for the Conty. This allows
208211
Conty to be used with already mounted filesystems.
209212
Conty will not mount its image on this mount point,
@@ -1159,7 +1162,7 @@ if [ "$(ls "${mount_point}" 2>/dev/null)" ] || launch_wrapper "${mount_command[@
11591162

11601163
QUIET_MODE=1 DISABLE_NET=1 SANDBOX_LEVEL=2 run_bwrap \
11611164
--bind-try /tmp/.X11-unix /tmp/.X11-unix \
1162-
Xephyr -noreset -ac -br -screen "${XEPHYR_SIZE}" :"${xephyr_display}" &>/dev/null & sleep 1
1165+
Xephyr -noreset -ac -br ${XEPHYR_ARGS} -screen "${XEPHYR_SIZE}" :"${xephyr_display}" &>/dev/null & sleep 1
11631166
xephyr_pid=$!
11641167

11651168
QUIET_MODE=1 run_bwrap openbox & sleep 1

0 commit comments

Comments
 (0)