mirror of
https://github.com/clockworkpi/launchergo.git
synced 2025-12-12 10:18:59 +01:00
cpirc fix
This commit is contained in:
parent
989977073a
commit
ebe74953f9
8
.cpirc
8
.cpirc
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user