gmenu2x: no clock and menu that switches to retrofe, Retrofe: clock and menu that switches to gmenu2x

This commit is contained in:
Vincent-FK
2020-12-13 15:35:46 +01:00
committed by Michel-FK
parent 7cb240543f
commit bc9b87f2e1
6 changed files with 28 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.31.1
# Mon Nov 9 00:34:05 2020
# Tue Nov 24 08:37:01 2020
#
CONFIG_HAVE_DOT_CONFIG=y

View File

@@ -0,0 +1,24 @@
#!/bin/sh
# Check number of args
if [ ${#} -ne 1 ]; then
echo "Usage: $(basename ${0}) launcher"
echo " launcher: retrofe, gmenu2x"
exit 1
fi
# Check Launcher
LAUNCHER=${1}
if [ ${LAUNCHER} == "gmenu2x" ]; then
echo "Setting default launcher: gmenu2x"
touch /mnt/gmenu2x
elif [ ${LAUNCHER} == "retrofe" ]; then
echo "Setting default launcher: retrofe"
rm -rf /mnt/gmenu2x
else
echo "Usage: $(basename ${0}) launcher"
echo " launcher: retrofe, gmenu2x"
exit 1
fi
exit 0