CreatBotKlipperScreen/scripts/KlipperScreen-start.sh
xcasxcursex 2fd5e6e89f Enable users to inject a custom script to start KlipperScreen (#660)
A helper script is included to ease migration
for the common Android XSDL use-case
2022-07-03 12:03:50 -03:00

13 lines
288 B
Bash
Executable File

#!/bin/bash
SCRIPTPATH=$(dirname $(realpath $0))
if [ -f $SCRIPTPATH/launch_KlipperScreen.sh ]
then
echo "Running "$SCRIPTPATH"/launch_KlipperScreen.sh"
$SCRIPTPATH/launch_KlipperScreen.sh
exit $?
fi
echo "Running KlipperScreen on X in display :0 by default"
/usr/bin/xinit $KS_XCLIENT