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:
1 parent
5e73fb03b5
commit
2fd5e6e89f
3 files changed
+51
-1
No files matched your search
Executable
+12
@@ -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
|
||||
Reference in new issue
Block a user