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
This commit is contained in:
xcasxcursex authored and Alfredo Monclus committed 2022-07-03 12:03:50 -03:00
1 parent 5e73fb03b5
commit 2fd5e6e89f
3 files changed
+51 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/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