mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-04-28 17:09:32 +02:00
13 lines
326 B
Plaintext
13 lines
326 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/launcher/.xinitrc -- -nocursor > /tmp/x.log 2>&1
|
|
else
|
|
startx /home/cpi/launcher/.xinitrc hdmi > /tmp/x.log 2>&1
|
|
fi
|
|
fi
|