This commit is contained in:
cuu 2019-01-09 18:02:17 +08:00
parent 712a1c328c
commit 6511f49def
4 changed files with 10 additions and 1 deletions

8
.cpirc
View File

@ -12,8 +12,16 @@ then
mpd ~/.mpd.conf mpd ~/.mpd.conf
if [[ $SCREEN =~ .*320.* ]] if [[ $SCREEN =~ .*320.* ]]
then then
while :
do
startx /home/cpi/launchergo/.xinitrc -- -xf86config $XORG_CONF -nocursor > /tmp/x.log 2>&1 startx /home/cpi/launchergo/.xinitrc -- -xf86config $XORG_CONF -nocursor > /tmp/x.log 2>&1
sleep 1
done
else else
while :
do
startx /home/cpi/launchergo/.xinitrc hdmi -- -xf86config $XORG_CONF > /tmp/x.log 2>&1 startx /home/cpi/launchergo/.xinitrc hdmi -- -xf86config $XORG_CONF > /tmp/x.log 2>&1
sleep 1
done
fi fi
fi fi

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
sleep 2
exit 0 exit 0

BIN
main

Binary file not shown.

View File

@ -1,2 +1,2 @@
f767ff5a91748714129ed417e3392c15 main a7f1233c35c93d8fac1144005ad4aa84 main
b4681733b228e2976a309efb7902588c dwm-mod b4681733b228e2976a309efb7902588c dwm-mod