mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
sway: allow no input devices
This commit is contained in:
parent
04f302657f
commit
96f064288b
@ -10,5 +10,8 @@ if [ ! -z "$(lsmod | grep 'nvidia')" ]; then
|
|||||||
SWAY_GPU_ARGS="--unsupported-gpu"
|
SWAY_GPU_ARGS="--unsupported-gpu"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# start sway, even if no input devices are connected
|
||||||
|
export WLR_LIBINPUT_NO_DEVICES=1
|
||||||
|
|
||||||
logger -t Sway "### Starting Sway with -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS}"
|
logger -t Sway "### Starting Sway with -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS}"
|
||||||
/usr/bin/sway -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS} > ${SWAY_LOG_FILE} 2>&1
|
/usr/bin/sway -V ${SWAY_GPU_ARGS} ${SWAY_DAEMON_ARGS} > ${SWAY_LOG_FILE} 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user