#!/bin/sh

# forge --exec target for the Makefile previews. forge starts squeekboard
# only in a logind greeter session, so a nested forge --winit gets it here,
# on the nested compositor and the private session bus this inherits.

if [ "${FORGE_MOBILE}" = "1" ] && command -v squeekboard >/dev/null 2>&1
then
	squeekboard </dev/null &
fi

exec "${LOCKSCREEN_BIN}"
