cpirc fix

This commit is contained in:
cuu 2023-01-05 00:37:06 +00:00
parent 989977073a
commit ebe74953f9

8
.cpirc
View File

@ -1,9 +1,9 @@
SCREEN=`cat /sys/class/graphics/fb0/modes` SCREEN=`cat /sys/class/graphics/fb0/modes`
XORG_CONF="~/launchergo/.xorg.conf" XORG_CONF="/home/cpi/launchergo/.xorg.conf"
if [ -f /home/cpi/.lima ] if [ -f /home/cpi/.lima ]
then then
XORG_CONF="~/launchergo/.xorg_lima.conf" XORG_CONF="/home/cpi/launchergo/.xorg_lima.conf"
fi fi
if [ -f /tmp/autologin ] if [ -f /tmp/autologin ]
@ -14,13 +14,13 @@ then
then then
while : while :
do do
startx /home/cpi/launchergo/.xinitrc -- -xf86config $XORG_CONF -nocursor > /tmp/x.log 2>&1 startx /home/cpi/launchergo/.xinitrc -- -xf86config $XORG_CONF -nocursor -logfile /tmp/xorg.log > /tmp/x.log 2>&1
sleep 1 sleep 1
done done
else else
while : while :
do do
startx /home/cpi/launchergo/.xinitrc hdmi -- -xf86config $XORG_CONF > /tmp/x.log 2>&1 startx /home/cpi/launchergo/.xinitrc hdmi -- -xf86config $XORG_CONF -logfile /tmp/xorg.log > /tmp/x.log 2>&1
sleep 1 sleep 1
done done
fi fi