mirror of
https://github.com/clockworkpi/launchergo.git
synced 2025-12-13 02:38:55 +01:00
13 lines
329 B
Plaintext
13 lines
329 B
Plaintext
SCREEN=`cat /sys/class/graphics/fb0/modes`
|
|
if [ -f /tmp/autologin ]
|
|
then
|
|
rm -f /tmp/autologin
|
|
mpd ~/.mpd.conf
|
|
if [[ $SCREEN =~ .*320.* ]]
|
|
then
|
|
startx /home/cpi/launchergo/.xinitrc_320 -- -nocursor > /tmp/x.log 2>&1
|
|
else
|
|
startx /home/cpi/launchergo/.xinitrc > /tmp/x.log 2>&1
|
|
fi
|
|
fi
|